RMSE

Version 1.1.0.0 (466 Bytes) von Felix Hebeler
calculates root mean square error from data vector or matrix and the corresponding estimates.
15,3K Downloads
Aktualisiert 31. Mär 2016

Lizenz anzeigen

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.

Zitieren als

Felix Hebeler (2026). RMSE (https://de.mathworks.com/matlabcentral/fileexchange/21383-rmse), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2006a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Polynomials finden Sie in Help Center und MATLAB Answers
Quellenangaben

Inspiriert: rmse(true_values, prediction)

Version Veröffentlicht Versionshinweise
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!