Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
Michael
Michael le 4 Mai 2015
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

Réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by