predict using a CompactRegressionGP object is much slower than using the full GP object
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Gaussian Process Regression en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!