How to have Tree able to do Multiple Splits at each Node rather than just 2 using fitctree?

1 回表示 (過去 30 日間)
All the trees I've produced have two splits at each node, but sometimes this is not optimal. How can I set fitctree to allow for multiple splits of a variable?
I suppose tree could split x2 and then split again using the same predictor...perhaps my interest in multiple splits is irrelevant to quality of results?

採用された回答

Siddharth Sundar
Siddharth Sundar 2014 年 10 月 30 日
As mentioned in this doc page, Statistics Toolbox trees are always binary i.e. having more than binary splits at each node is not possible.
  1 件のコメント
Justin
Justin 2014 年 10 月 30 日
thanks - I looked in documentation prior to posting, but missed this -

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

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by