Inferring appliance load profiles from measurements