feos.eos.estimator.DataSet.mean_absolute_relative_difference¶
- DataSet.mean_absolute_relative_difference(eos)¶
Return the mean absolute relative difference.
The mean absolute relative difference is computed as:
\[\text{MARD} = \frac{1}{N}\sum_{i=1}^{N} \left|\frac{x_i^\text{prediction} - x_i^\text{experiment}}{x_i^\text{experiment}} \right|\]- Parameters:
eos (EquationOfState) – The equation of state that is used.
- Return type:
Float