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 件)

カテゴリ

製品

質問済み:

2015 年 5 月 4 日

Community Treasure Hunt

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

Start Hunting!

Translated by