Java weka.clusterers ClusterEvaluation fields, constructors, methods, implement or subclass

Example usage for Java weka.clusterers ClusterEvaluation fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for weka.clusterers ClusterEvaluation.

The text is from its open source code.

Constructor

ClusterEvaluation()
Constructor.

Method

StringclusterResultsToString()
return the results of clustering.
doublecrossValidateModel(DensityBasedClusterer clusterer, Instances data, int numFolds, Random random)
Perform a cross-validation for DensityBasedClusterer on a set of instances.
voidevaluateClusterer(Instances test)
Evaluate the clusterer on a set of instances.
voidevaluateClusterer(Instances test, String testFileName, boolean outputModel)
Evaluate the clusterer on a set of instances.
voidevaluateClusterer(Instances test, String testFileName)
Evaluate the clusterer on a set of instances.
StringevaluateClusterer(Clusterer clusterer, String[] options)
Evaluates a clusterer with the options given in an array of strings.
int[]getClassesToClusters()
Return the array (ordered by cluster number) of minimum error class to cluster mappings
double[]getClusterAssignments()
Return an array of cluster assignments corresponding to the most recent set of instances clustered.
doublegetLogLikelihood()
Return the log likelihood corresponding to the most recent set of instances clustered.
intgetNumClusters()
Return the number of clusters found for the most recent call to evaluateClusterer
voidmapClasses(int numClusters, int lev, int[][] counts, int[] clusterTotals, double[] current, double[] best, int error)
Finds the minimum error mapping of classes to clusters.
voidsetClusterer(Clusterer clusterer)
set the clusterer