What is the difference between yfit and predict functions?

3 ビュー (過去 30 日間)
Vahe Ghazikhanian
Vahe Ghazikhanian 2019 年 5 月 30 日
I have a Regression app generated GPR compact model saved on my desktop. During training I had PCA feature selection on. When I use the 'yfit' function with the model on out-of-sample data set (i.e., new data not included in the training stage) it is able to provide reasonable answers. So "yfit" uses the PCA companents embedded in the model structure. But when I use "predict" function it seems that it requires some preprocessing (i.e., projection of raw variables onto PCA components).
Why is that? What is the difference between the two?

回答 (0 件)

カテゴリ

Help Center および File ExchangeDimensionality Reduction and Feature Extraction についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by