フィルターのクリア

Visualizing a tree

2 ビュー (過去 30 日間)
Michael
Michael 2011 年 9 月 19 日
I have a classification tree created using AdaBoost's toolbox (GML). I want to visualize this tree. Does anyone know of a simple way to do this?
In the statistics toolbox there is a function called view(t) which takes as input a classregtree, but I'm sure how to construct a variable of this type from my data (the tree in GML's format).
Thanks in advance!

回答 (2 件)

Jan
Jan 2011 年 9 月 19 日
Have you seen the ADT tree on e.g. Undocumented: Integrate JBoost?

Ilya
Ilya 2011 年 9 月 19 日
If you work in 11a or later and if you have Statistics Toolbox, you can boost trees using fitensemble function. Then you can use the view method on individual trees saved in the Trained property of the grown ensemble.
You say "a tree" and "this tree". Just to make sure - an ensemble grown by AdaBoost or another boosting method is a collection of (typically) many trees.
  3 件のコメント
artsci4
artsci4 2013 年 1 月 18 日
編集済み: artsci4 2013 年 1 月 18 日
I have a question in regard to viewing the Tree from the fitensemble function. I am using 'RUSBoost' as the method. I can see that there are 1000 trees in the cell called Trained since I set nlearn to be a 1000. But then where is the tree that is actually used for prediction? How can I see that tree?
Jan
Jan 2013 年 1 月 18 日
Please post a new thread for a new question.

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

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by