Fix aggregation keyword (from M to min) and error checking for error in regression.
Fix aggregation keyword (from M to min) and error checking for error in regression.

VOLTTRON/volttron-applications,VOLTTRON/volttron-applications,VOLTTRON/volttron-applications,VOLTTRON/volttron-applications,VOLTTRON/volttron-applications