How to find error between predicted and actual data ?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I have trained a model using GPR and want to see error between predicted and actual data.
0 Kommentare
Antworten (1)
Adam Danz
am 30 Aug. 2020
Bearbeitet: Adam Danz
am 30 Aug. 2020
Use predict(grpModel, x) to get the predicted response. x should be the x values of your training data. Then just subtract the predicted results from the y-values from your training data.
This page of the documentation has a demo. Search for "Compute the regression error on the test data."
0 Kommentare
Siehe auch
Kategorien
Mehr zu Statistics and Machine Learning Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!