Path: news.mathworks.com!not-for-mail
From: "Amir Hossein " <a.gharehgozli@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Generation of decision trees in Matlab possible ?
Date: Mon, 16 Feb 2009 23:24:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 31
Message-ID: <gncsih$eu9$1@fred.mathworks.com>
References: <gfbigi$969$1@fred.mathworks.com> <gfc396$is1$1@fred.mathworks.com>
Reply-To: "Amir Hossein " <a.gharehgozli@gmail.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1234826641 15305 172.30.248.37 (16 Feb 2009 23:24:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 16 Feb 2009 23:24:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1638623
Xref: news.mathworks.com comp.soft-sys.matlab:518698


could you please tell me how i can show node numbers in my plot using treeplot?


"Steven Lord" <slord@mathworks.com> wrote in message <gfc396$is1$1@fred.mathworks.com>...
> 
> "Claus " <il_consigliere@excite.com> wrote in message 
> news:gfbigi$969$1@fred.mathworks.com...
> >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?
> 
> 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
> slord@mathworks.com 
>