RMSE

calculates root mean square error from data vector or matrix and the corresponding estimates.
15,2K descargas
Actualizado 31 mar 2016

Ver licencia

Short script that calculates root mean square error from data vector or matrix and the corresponding estimates.
Checks for NaNs in data and estimates and deletes them and then simply does:
r = sqrt( sum( (data(:)-estimate(:)).^2) / numel(data) );
That's it.

Citar como

Felix Hebeler (2024). RMSE (https://www.mathworks.com/matlabcentral/fileexchange/21383-rmse), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2006a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Polynomials en Help Center y MATLAB Answers.
Agradecimientos

Inspiración para: rmse(true_values, prediction)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión
1.1.0.0

Updated description and code for better readability and
BSD update

1.0.0.0

By popular demand: using sum(data(:)) instead of sum(sum(data)). Thanks!