Effacer les filtres
Effacer les filtres

How to find error between predicted and actual data ?

4 vues (au cours des 30 derniers jours)
kamal
kamal le 30 Août 2020
Modifié(e) : Adam Danz le 30 Août 2020
I have trained a model using GPR and want to see error between predicted and actual data.

Réponses (1)

Adam Danz
Adam Danz le 30 Août 2020
Modifié(e) : Adam Danz le 30 Août 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."

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by