Appliance Recognition Using A Density- Based Clustering Approach with Multiple Granularities