Why do I get errors when using QuadraticErrorTolerance and MinParentSize in fitrtree?

1 visualización (últimos 30 días)
Hi all,
I am running the function fitrtree to make a regression tree. However, I get errors when I use the selectors mentioned in the question. fitrtree does work fine for me with other selectors; I am using PredictorNames ResponseName Surrogate and MergeLeaves. These are the errors I get:
"Error using classreg.learning.FitTemplate/fillIfNeeded (line 524) MinParentSize is not a valid parameter name."
"Error using classreg.learning.FitTemplate/fillIfNeeded (line 524) QuadraticErrorTolerance is not a valid parameter name."
I would greatly appreciate any help in understanding why I am getting these errors, as I really wanted to use these options. Thanks!
Best, Michael

Respuestas (0)

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by