MATLAB Answers

Gaussian process realization for random samples

16 views (last 30 days)
Tianxiang Su
Tianxiang Su on 15 Jun 2020
Answered: Mahesh Taparia on 19 Jun 2020
Hi, I see that we can use predict and resubPredict to generate the response to a Gaussian process. My question is, is it true that the output of predict is the mean value? If yes, is there any function we can use to generate a random realization?

Answers (1)

Mahesh Taparia
Mahesh Taparia on 19 Jun 2020
The predict function use to predict the output of the trained model. The model can be classification/ regression model. For more information, you can refer this documentation of predict function. Similarly resubPredict function predicts the label of KNN classifier. For more information, refer this documentation of resubPredict function.


Community Treasure Hunt

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

Start Hunting!

Translated by