フィルターのクリア

fitcensemble settings to speed the process up

1 回表示 (過去 30 日間)
Stephen Gray
Stephen Gray 2021 年 1 月 12 日
コメント済み: Stephen Gray 2021 年 2 月 3 日
I have a table with 260000 records, 9 fields of which 3 are categorical, the rest are double with the ninth being the target (0 or 1). I'm running fitcensemble as below :-
Mdl = fitcensemble(TestGB(:,1:8),TestGB(:,9),'OptimizeHyperparameters',...
'HyperparameterOptimizationOptions',struct('AcquisitionFunctionName','expected-improvement-plus'))
I've tried with less fields(3-4) and it runs reasonably quickly. With nine fields however it took overnight to do one round of calculations with 29 to go. As my machine only has 4 cores I thought I'd run it on an Amazon AWS compute VM with 16 Xeon processors only it didn't seem much quicker. Is there anything I'm doing wrong or that I could do to speed things up? Or am I just going to have to wait!
Stephen Gray

採用された回答

Aditya Patil
Aditya Patil 2021 年 2 月 3 日
You can use the
struct('UseParallel',true)
name-value pair to improve performance of the hyperparameter optimization. This requires parallel computing toolbox.
See the extended capabilities section of the fitcensemble documentation for more information.
  1 件のコメント
Stephen Gray
Stephen Gray 2021 年 2 月 3 日
Thanks for the answer.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeClassification Ensembles についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by