set training to validation ratio

조회 수: 7 (최근 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 CenterFile Exchange에서 Gaussian Process Regression에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by