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

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 Logical에 대해 자세히 알아보기

제품

질문:

2015년 5월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by