calibration
calibration
Define calibration helpers for ss.Calibration()
Functions
euclidean
calibration.euclidean(expected, predicted)
Euclidean distance between expected and predictec/simulated data
Parameters
| expected |
pd.DataFrame |
dataframe with column “x”, the quantity or metric of interest, from the reference dataset. |
required |
| predicted |
pd.DataFrame |
dataframe with column “x”, the quantity or metric of interest, from simulated dataset. |
required |
Returns
| nll |
float |
negative Euclidean distance between expected and predicted values. |
weighted_euclidean
calibration.weighted_euclidean(expected, predicted)
Weighted Euclidean distance between expected and predictec/simulated data. Also called weighted_squares in calibra ll calculators.
Parameters
| expected |
pd.DataFrame |
dataframe with column “x”, the quantity or metric of interest, from the reference dataset. |
required |
| predicted |
pd.DataFrame |
dataframe with column “x”, the quantity or metric of interest, from simulated dataset. |
required |
Returns
| nll |
float |
negative weighted Euclidean distance between expected and predicted values. |