a | b/Semantic Features/RMSE.m | ||
---|---|---|---|
1 | function [ RMSE ] = RMSE( X, Y ) |
||
2 | %RMSE Root Mean Squared Error |
||
3 | % RMSE is a standard method, wiki it. Its more 'relatable' to real values |
||
4 | % than MSE so using this method to get an idea how bad our predictions |
||
5 | % are off. Only makes sense for continous numerical labels, not classes. |
||
6 | |||
7 | RMSE = sqrt(mean((X - Y).^2)); |
||
8 | |||
9 | end |
||
10 |