RMSE | Invalid Characters
Mostrar comentarios más antiguos
Hi
I am not sure, why it tell me the below has invalid characters.
function r = rmse(data,k)
r = sqrt(sum((data(:)-k(:)).^2)/numel(data))
end
1 comentario
KSSV
el 7 de Mayo de 2018
What input you tried?
Respuesta aceptada
Más respuestas (1)
Yuvaraj Venkataswamy
el 7 de Mayo de 2018
Editada: Walter Roberson
el 7 de Mayo de 2018
function r = RMSE(data,k)
Error=(data-k);
Squared_Error=Error.^2 ;
MSE=mean(Squared_Error);
r = sqrt(MSE);
end
Categorías
Más información sobre Linear Algebra en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!