Root Mean Squared Error
ahrs.utils.metrics.rmse(x: ndarray, y: ndarray) : The RMSE is computed as:
code
where is the number of elements in and
.
If and are
matrices, then the RMSE is computed for each row, yielding a vector of
length .
Parameters:
: - **x** (*numpy.ndarray*) – First set of values to compare.
- **y** (*numpy.ndarray*) – Second set of values to compare.
Returns:
: **d** – Root mean squared error between given values.
Return type:
: float