ComputeError
Description :
Compute Pearson correlation coefficient, maximum absolute error (MAE) and root mean square error (RMSE) between two vectors. A minimum of 5 observation and prediction pairs are required.
If nan
are present in obs
or pred
, they are removed before computing results.
Python :
ComputeError(obs, pred)
R :
ComputeError(obs, pred)
Parameter | Type | Purpose |
---|---|---|
obs | list | Observations |
pred | list | Predictions |
Returns :
Dict in pyEDM
, named List in rEDM
: with computed rho
, RMSE
, MAE
.