Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Generation of decision trees in Matlab possible ?

311 views
Skip to first unread message

Claus

unread,
Nov 11, 2008, 4:16:02 AM11/11/08
to
I am writing some code that will provide probabilities to a decision tree, such as this one:
http://www.time-management-guide.com/decision-tree.html

I don't know how to generate a pleasing tree in matlab, except to recreate something like the link above using a lot of LINE commands. I am looking for a better idea. Can you help?

Thanks in advance,

Claus

Steven Lord

unread,
Nov 11, 2008, 9:02:14 AM11/11/08
to

"Claus " <il_cons...@excite.com> wrote in message
news:gfbigi$969$1...@fred.mathworks.com...

Neither of these options are exactly what you want, but Statistics Toolbox
has a classification tree object:

http://www.mathworks.com/access/helpdesk/help/toolbox/stats/bq4embr-1.html

Alternately, you might try using TREEPLOT or TREELAYOUT and rotating the
created tree:

http://www.mathworks.com/access/helpdesk/help/techdoc/ref/treeplot.html

http://www.mathworks.com/access/helpdesk/help/techdoc/ref/treelayout.html

--
Steve Lord
sl...@mathworks.com


Amir Hossein

unread,
Feb 16, 2009, 6:24:01 PM2/16/09
to
could you please tell me how i can show node numbers in my plot using treeplot?


"Steven Lord" <sl...@mathworks.com> wrote in message <gfc396$is1$1...@fred.mathworks.com>...

cannot Ribeiro

unread,
May 12, 2010, 2:19:06 PM5/12/10
to
you can not. You have to write a script to do it.

pedro

"Amir Hossein " <a.ghar...@gmail.com> wrote in message <gncsih$eu9$1...@fred.mathworks.com>...

cannot Ribeiro

unread,
May 12, 2010, 2:19:06 PM5/12/10
to
you can not. You have to write a script to do it.

pedro

"Amir Hossein " <a.ghar...@gmail.com> wrote in message <gncsih$eu9$1...@fred.mathworks.com>...

cannot Ribeiro

unread,
May 12, 2010, 2:20:08 PM5/12/10
to
you can not. You have to write a script to do it.

pedro

"Amir Hossein " <a.ghar...@gmail.com> wrote in message <gncsih$eu9$1...@fred.mathworks.com>...

0 new messages