Appliance Recognition and Unattended Appliance Detection for Energy Conservation