Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
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.
Citation pour cette source
Felix Hebeler (2026). RMSE (https://fr.mathworks.com/matlabcentral/fileexchange/21383-rmse), MATLAB Central File Exchange. Extrait(e) le .
Remerciements
A inspiré : rmse(true_values, prediction)
Informations générales
- Version 1.1.0.0 (466 octets)
Compatibilité avec les versions de MATLAB
- Compatible avec toutes les versions
Plateformes compatibles
- Windows
- macOS
- Linux
| Version | Publié le | Notes de version | Action |
|---|---|---|---|
| 1.1.0.0 | Updated description and code for better readability and
|
||
| 1.0.0.0 | By popular demand: using sum(data(:)) instead of sum(sum(data)). Thanks! |
