RMSE between original and predicted values.

3 次查看(过去 30 天)
Hi,
If I have thousand samples of my signal in a vector form like 1*1000, and I will predict my signal at each iteration that results into 1*1000 also. Then In this case, how will I find the RMSE of my model?
Many Thanks

采纳的回答

Star Strider
Star Strider 2020-1-18
Please see my Comment replying to your Comment.
  8 个评论

请先登录,再进行评论。

更多回答(1 个)

Image Analyst
Image Analyst 2020-1-18
Without any other information, the maximum likelihood prediction for every element would be the mean of the entire signal. But it seems you'd rather have the rms, so you'd have
RMSE = rms(yourVector)
predictionVector = RMSE * ones(length(yourVector));

标签

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by