RMSE between original and predicted values.

조회 수: 5 (최근 30일)
MAT-Magic
MAT-Magic 2020년 1월 18일
댓글: Star Strider 2020년 1월 20일
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
MAT-Magic
MAT-Magic 2020년 1월 20일
OK. Thanks alot
Star Strider
Star Strider 2020년 1월 20일
As always, my pleasure!

댓글을 달려면 로그인하십시오.

추가 답변 (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