set training to validation ratio
7 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Sahil Jain
on 30 Aug 2021
By default, ‘fitrensemble’ does 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’.
0 Comments
See Also
Categories
Find more on Gaussian Process Regression in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!