MSE, RMSE and any other useful evaluation metrics
1 回表示 (過去 30 日間)
古いコメントを表示
If I have 100 vectors of error and each error vector has got four elements, then how can we we find its MSE, RMSE and any other performance metric? e.g. If I have my desired vector as u=[0.5 1 0.6981 0.7854] and I have estimated vectors like as: Est1=[0.499 0.99 0.689 0.779], Est2=[0.500 1.002 0.699 0.77], Est3=[0.489 0.989 0.698 0.787],---Est100=[---],
Then Error1=u-Est1; Error2=u-Est2 and so on up to Error100=u-Est100. Now how can we find the MSE, RMSE and tell me others as well that are used to indicate the perofrmance of the algorithm. please tell me in the form of easy code.
Regards,
Sadiq Akbar
0 件のコメント
回答 (1 件)
KALYAN ACHARJYA
2019 年 10 月 22 日
編集済み: KALYAN ACHARJYA
2019 年 10 月 22 日
The u vector as follows (As per question)
u=[0.5 1 0.6981 0.7854];
Est1=[0.499 0.99 0.689 0.779],
Est2=[0.500 1.002 0.699 0.77];
Est3=[0.489 0.989 0.698 0.787];
% So on......
% Save all Est in cell array, help easy to call
Est={Est1,Est1,Est1};
for i=length(Est)
err(i)=mse(u,Est{1});
end
err % this err gives the err for three each pair
Next, hope you can implment RMSE by yourself , help here
Good Luck!
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で FSK についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!