comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » "Cluster" please help
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
"Cluster" please help [message #53378] Fri, 06 April 2007 16:21
Dilkushi@gmail.com is currently offline  Dilkushi@gmail.com
Messages: 21
Registered: August 2006
Junior Member
Dear all,
I cannot seem to get the cluster function to work. I know the data
plays a big role in the computation.. but visually i see 3 clusters in
the array. but it groups it into 1 cluster. ie there is nothing where
result=1

weights = CLUST_WTS(array, N_CLUSTERS = 3)
result = CLUSTER(array, weights, N_CLUSTERS = 3)
;Plot each cluster using a different symbol:
IPLOT, array[*, WHERE(result eq 0)], $
LINESTYLE = 6, SYM_INDEX = 2
IPLOT, array[*, WHERE(result eq 1)], /OVERPLOT, $
LINESTYLE = 6, SYM_INDEX = 4

please help
thanks
dilkushi
[Message index]
 
Read Message
Previous Topic: significance of a linear regression
Next Topic: manipulating structures

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:52:15 PDT 2025

Total time taken to generate the page: 0.00388 seconds