[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wekalist
Subject:    Re: [Wekalist] Cluster membership???
From:       Peter Reutemann <fracpete () waikato ! ac ! nz>
Date:       2005-11-28 20:15:35
Message-ID: 438B6567.3020907 () waikato ! ac ! nz
[Download RAW message or body]

> "Can I know that which instance belongs to which cluster" .. I am applying
> clustering algos on a dataset of 3000 instances and want to know that which
> instance belongs to which cluster number. I actually couldn't find in
> archive so if it can be explained again.

Just use the "-p" commandline option, e.g., on the "iris.arff" dataset:
   java weka.clusterers.XMeans -t iris.arff -p 0

The "-p 0" prints the index of the instance and the cluster it belongs to.

HTH

Cheers, Peter
-- 
Peter Reutemann, Dept. of Computer Science, University of Waikato, NZ
http://www.cs.waikato.ac.nz/~fracpete/     +64 (7) 838-4466 Ext. 5174

_______________________________________________
Wekalist mailing list
Wekalist@list.scms.waikato.ac.nz
https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic