Clear Filters
Clear Filters

What's the difference bewteen resubPredict and predict functions?

8 views (last 30 days)
I'm trying to use Gaussian Process regression and came across two functions
'resubPredict' and 'Predict'
I've read the documentation regarding both functions but can't find the difference between these two.
Well is there any difference between these two?

Answers (1)

Akshat Dalal
Akshat Dalal on 15 Sep 2023
Hi Jae,
The ‘resubPredict function is used to get predictions on the training data itself, while the predict function is used to get predictions on new or unseen data. Therefore, the input requirements and output formats also differ between the two functions.

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!