All Packages Class Hierarchy This Package Previous Next Index WEKA's home
java.lang.Object | +----weka.clusterers.ClusterEvaluation
Valid options are:
-t
-T
-d
-l
-p
-x
-c
Specify the training file.
Specify the test file to apply clusterer to.
Specify output file.
Specifiy input file.
Output predictions. Predictions are for the training file if only the
training file is specified, otherwise they are for the test file. The range
specifies attribute values to be output with the predictions.
Use '-p 0' for none.
Set the number of folds for a cross validation of the training data.
Cross validation can only be done for distribution clusterers and will
be performed if the test file is missing.
Set the class attribute. If set, then class based evaluation of clustering
is performed.
ClusterEvaluation()
clusterResultsToString()
crossValidateModel(String, Instances, int, String[])
evaluateClusterer(Clusterer, String[])
evaluateClusterer(Instances)
getClassesToClusters()
getClusterAssignments()
getNumClusters()
main(String[])
setClusterer(Clusterer)
setDoXval(boolean)
setFolds(int)
setSeed(int)
ClusterEvaluation
public ClusterEvaluation()
setClusterer
public void setClusterer(Clusterer clusterer)
setDoXval
public void setDoXval(boolean x)
setFolds
public void setFolds(int folds)
setSeed
public void setSeed(int s)
clusterResultsToString
public String clusterResultsToString()
getNumClusters
public int getNumClusters()
getClusterAssignments
public double[] getClusterAssignments()
getClassesToClusters
public int[] getClassesToClusters()
evaluateClusterer
public void evaluateClusterer(Instances test) throws Exception
evaluateClusterer
public static String evaluateClusterer(Clusterer clusterer,
String options[]) throws Exception
crossValidateModel
public static String crossValidateModel(String clustererString,
Instances data,
int numFolds,
String options[]) throws Exception
main
public static void main(String args[])
All Packages Class Hierarchy This Package Previous Next Index WEKA's home