Can I use parallel computing when training a gaussian process with separate length scales for predictors with fitgrp?

7 ビュー (過去 30 日間)
My code for training the GP looks like this:
gpMdlspeed1 = fitrgp(model1,Speed1,'Basis','constant','FitMethod','exact',... 'PredictMethod','exact','KernelFunction','ardsquaredexponential','KernelParameters',[sigmaM01;sigmaF01],... 'Sigma',sigma01,'Standardize',1,'HyperparameterOptimizationOptions',struct('UseParallel',true), 'Verbose',2 );
But this is not using the parallelpool since my understanding is that hyperparameteroptimizationoptions applies only for bayesianopt optimizer. Is there a way to train this Gaussian process with separate length scales for predictors using parallel computing?

採用された回答

Gautam Pendse
Gautam Pendse 2018 年 9 月 25 日
Hi Lauri,
Even when there are separate length scales for predictors, these are jointly optimized during training. This optimization proceeds serially by moving from one set of values of the length scales to another set of values such that the log likelihood increases.
To speed up the optimization, you can consider loosening the convergence criterion as in this example:
Hope this helps,
Gautam
  1 件のコメント
Lauri Nenonen
Lauri Nenonen 2018 年 9 月 25 日
編集済み: Lauri Nenonen 2018 年 9 月 25 日
Hi Gautam,
Thank you for you answer! It did help indeed.
Best regards, Lauri

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGaussian Process Regression についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by