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: cluster analysis
Replies: 1   Last Post: Jan 17, 2013 3:26 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  
Tom Lane

Posts: 855
Registered: 12/7/04
Re: cluster analysis
Posted: Jan 17, 2013 3:26 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

> In fact you are right, using this code I only have the cluster numbers.
> Using this cluster method is possible to do what I want, i.e., after
> defined clusters (using the code from my first message) apply them to new
> data? If yes, can you give me some indication how to proceed please?


Manuel, you might be able to use grpstats to compute the means (centroid) of
each cluster on the original data. Then you could use pdist2 and min as in
my earlier post to locate the nearest centroid for each new point.

This would be reasonable for your trees based on ward linkage. If you had
been using other linkage values, this probably would not be the most
appropriate approach.

-- Tom




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.