Change weighting function input: accept pandas.DataFrame instead of power_modeling.TrainData.
First commit: calculate parameters for the uncertainty due to training data.