predict using a CompactRegressionGP object is much slower than using the full GP object
1 回表示 (過去 30 日間)
古いコメントを表示
I have trained GP model for regression using fitrgp.
When using the model to make predictions on new data I use predict:
>> tic, [mu, sd]=predict(Mdl_full,Xtest);toc
Elapsed time is 0.070162 seconds.
Mdl_compact = compact(Mdl_full);
>> tic, [mu, sd]=predict(Mdl_compact,Xtest);toc
Elapsed time is 4.185938 seconds.
Why using the compact model is much slower than using the full model? Any way to make it faster?
Note that the compact model takes about 2000 times less memory, hence it is better to use especially as a member of an ensemble
0 件のコメント
回答 (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!