Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


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

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 ]
Greg Heath

Posts: 5,949
Registered: 12/7/04
Re: the math in classify.m
Posted: Dec 3, 2012 7:34 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Aniket" wrote in message <k9ja1j$1gg$1@newscl01ah.mathworks.com>...
> Hi
>
> This is a little old thread but I hope its active!
> Even I am using classify.m to classify my data into two groups. To get a better insight I tried to understand the math involved in the 'linear' case of classify.m. However, I could not really make a whole lot of sense out of it.
>
> I referred the multivariate analysis book by W.J. Krzanowski and found one of the criteria for classification is the closeness of an observation to the mean of a class. Is this what is used in classify.m or is it different?


It is more general. The measure of closeness is the log of the Gaussian probability distribution which contains the (squared) Mahalanobis distance and log of the apriori probability.

> I understand my question is more statistics oriented than matlab based, but I hope to find some fundamental answers.

Hope this helps.

Greg



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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.