feos.eos.estimator.Estimator.cost¶
- Estimator.cost(eos)¶
Compute the cost function for each
DataSet
.- Parameters:
eos (EquationOfState) – The equation of state that is used.
- Returns:
The cost function evaluated for each experimental data point of each
DataSet
.- Return type:
numpy.ndarray[Float]
Note
The cost function is:
The relative difference between prediction and target value,
to which a loss function is applied,
and which is weighted according to the number of datapoints,
and the relative weights as defined in the Estimator object.