Load profile mining using directed weighted graphs with application towards demand response management