Filter löschen
Filter löschen

RMSE between original and predicted values.

2 Ansichten (letzte 30 Tage)
MAT-Magic
MAT-Magic am 18 Jan. 2020
Kommentiert: Star Strider am 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

Akzeptierte Antwort

Star Strider
Star Strider am 18 Jan. 2020
Please see my Comment replying to your Comment.
  8 Kommentare
MAT-Magic
MAT-Magic am 20 Jan. 2020
OK. Thanks alot
Star Strider
Star Strider am 20 Jan. 2020
As always, my pleasure!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Image Analyst
Image Analyst am 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));

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by