How to provide parameters in fitrensemble

Hi,
Is there any way that I can provide parameters e.g. minimum number of leaves and maximum number of splits when using fitrensemble?

Answers (1)

The parameters 'MinLeafSize', and 'MaxNumSplits' are available for optimization, see doc page for fitrensemble

1 Comment

Hi, yes but I don't want to do optimisation to find the values of those parameters. I want to use them as a parameter when building the model.

Sign in to comment.

Products

Release

R2017b

Asked:

on 21 May 2018

Commented:

on 30 May 2018

Community Treasure Hunt

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

Start Hunting!