MATLAB Answers

RMSE between original and predicted values.

5 views (last 30 days)
MAT-Magic
MAT-Magic on 18 Jan 2020
Commented: Star Strider on 20 Jan 2020
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

  0 Comments

Sign in to comment.

Accepted Answer

Star Strider
Star Strider on 18 Jan 2020
Please see my Comment replying to your Comment.

  8 Comments

Show 5 older comments
Star Strider
Star Strider on 20 Jan 2020
The RMSE calculation remains the same. You need to take the diferences, square them, accumulate them, take the mean, and the the square root of that.

Sign in to comment.

More Answers (1)

Image Analyst
Image Analyst on 18 Jan 2020
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));

  1 Comment

Sign in to comment.

Sign in to answer this question.

Tags

Products


Translated by