Does the function ClassificationTree.fit already perform pruning according to a complexity criterion?

1 回表示 (過去 30 日間)
I want to grow a classification tree and determine the best level of complexity. Whenever I grow a tree with the default setting, I end up with a tree of reasonable size. In contrary, if grow a max tree setting minparent to 1 I end up with pretty large trees. If I am pruning this tree back using test() to determine the best level, and prune () to execute the pruning I always end up with the same tree which I would have gotten by just using the default function. Is this always the case? Does ClassificationTree.fit already perform the same steps automatically?
  2 件のコメント
Niklas Axelsson
Niklas Axelsson 2012 年 6 月 30 日
I would also very much appreciate answer to this question!
Carmine Gabriele
Carmine Gabriele 2015 年 3 月 26 日
Any help on this? Would be much appreciated

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeClassification Ensembles についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by