필터 지우기
필터 지우기

How to find error between predicted and actual data ?

조회 수: 4 (최근 30일)
kamal
kamal 2020년 8월 30일
편집: Adam Danz 2020년 8월 30일
I have trained a model using GPR and want to see error between predicted and actual data.

답변 (1개)

Adam Danz
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."

카테고리

Help CenterFile Exchange에서 Support Vector Machine Regression에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by