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!