MATLAB Answers

How to provide parameters in fitrensemble

3 views (last 30 days)
Chugh
Chugh on 21 May 2018
Commented: Chugh on 30 May 2018
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)

Bernhard Suhm
Bernhard Suhm on 30 May 2018
The parameters 'MinLeafSize', and 'MaxNumSplits' are available for optimization, see doc page for fitrensemble
  1 Comment
Chugh
Chugh on 30 May 2018
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.

Community Treasure Hunt

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

Start Hunting!

Translated by