RMSE between original and predicted values.

4 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Star Strider
Star Strider il 18 Gen 2020
Please see my Comment replying to your Comment.
  8 Commenti
Star Strider
Star Strider il 20 Gen 2020
As always, my pleasure!

Accedi per commentare.

Più risposte (1)

Image Analyst
Image Analyst il 18 Gen 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));

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by