set training to validation ratio

6 ビュー (過去 30 日間)
Ahmed Abdulla
Ahmed Abdulla 2021 年 8 月 24 日
回答済み: Sahil Jain 2021 年 8 月 30 日
I have been using fitrensemble (gradient boosting - LSBoost) to find a model that fits my dataset, however I was wondering if anyone knew how to specify what fraction of the data is for training the machine and what fraction is to validate the model.
  2 件のコメント
KSSV
KSSV 2021 年 8 月 24 日
General procedure is 70% training, 15% validation and 15% testing.
Ahmed Abdulla
Ahmed Abdulla 2021 年 8 月 24 日
Thank you for your response, are you aware if this setting can be changed?

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

回答 (1 件)

Sahil Jain
Sahil Jain 2021 年 8 月 30 日
By default, ‘fitrensembledoes not perform a training/validation split and uses all the provided data as training data. However, multiple cross-validation options are available as name-value pair arguments. These can be found under the Cross-Validation Options on the documentation page of ‘fitrensemble’.

カテゴリ

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

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by