How to find error between predicted and actual data ?
6 ビュー (過去 30 日間)
古いコメントを表示
I have trained a model using GPR and want to see error between predicted and actual data.
0 件のコメント
回答 (1 件)
Adam Danz
2020 年 8 月 30 日
編集済み: Adam Danz
2020 年 8 月 30 日
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で Gaussian Process Regression についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!