The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: the math in classify.m
Replies: 7   Last Post: Dec 3, 2012 7:34 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Peter Perkins

Posts: 1,665
Registered: 12/7/04
Re: the math in classify.m
Posted: Aug 9, 2005 12:51 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

marquito wrote:

> Yes, I need the posterior p(class|x). Unfortunately my version of
> classify.m (Matlab 6.5) doesn't have the option nor the code to
> return it.

It almost does -- D(i,k) is log(p(x_i|g_k)). So if you exponentiate D and
normalize each row, you have p(g_k|x_i).

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.