Uses of Class
cc.mallet.cluster.Clustering
-
Packages that use Clustering Package Description cc.mallet.cluster Unsupervised clustering ofInstance
objects within anInstanceList
.cc.mallet.cluster.clustering_scorer cc.mallet.cluster.evaluate cc.mallet.cluster.iterator cc.mallet.cluster.neighbor_evaluator cc.mallet.cluster.util -
-
Uses of Clustering in cc.mallet.cluster
Methods in cc.mallet.cluster that return Clustering Modifier and Type Method Description abstract Clustering
Clusterer. cluster(InstanceList trainingSet)
Return a clustering of an InstanceListClustering
HillClimbingClusterer. cluster(InstanceList instances)
While not converged, callsimproveClustering
to modify the current predictedClustering
.Clustering
HillClimbingClusterer. cluster(InstanceList instances, int iterations, Clustering initialClustering)
While not converged, callimproveClustering
to modify the current predictedClustering
.Clustering
KMeans. cluster(InstanceList instances)
Cluster instancesClustering[]
HillClimbingClusterer. clusterKBest(InstanceList instances, int k)
Clustering[]
HillClimbingClusterer. clusterKBest(InstanceList instances, int iterations, Clustering initialClustering, int k)
Return the K most recent solutions.abstract Clustering[]
KBestClusterer. clusterKBest(InstanceList trainingSet, int k)
Clustering
Clusterings. get(int i)
Clustering
GreedyAgglomerative. improveClustering(Clustering clustering)
For each pair of clusters, calculate the score of theNeighbor
that would result from merging the two clusters.Clustering
GreedyAgglomerativeByDensity. improveClustering(Clustering clustering)
abstract Clustering
HillClimbingClusterer. improveClustering(Clustering clustering)
Clustering
GreedyAgglomerative. initializeClustering(InstanceList instances)
abstract Clustering
HillClimbingClusterer. initializeClustering(InstanceList instances)
Clustering
Clustering. shallowCopy()
Methods in cc.mallet.cluster with parameters of type Clustering Modifier and Type Method Description Clustering
HillClimbingClusterer. cluster(InstanceList instances, int iterations, Clustering initialClustering)
While not converged, callimproveClustering
to modify the current predictedClustering
.Clustering[]
HillClimbingClusterer. clusterKBest(InstanceList instances, int iterations, Clustering initialClustering, int k)
Return the K most recent solutions.boolean
GreedyAgglomerative. converged(Clustering clustering)
boolean
GreedyAgglomerativeByDensity. converged(Clustering clustering)
abstract boolean
HillClimbingClusterer. converged(Clustering clustering)
protected double
GreedyAgglomerative. getScore(Clustering clustering, int i, int j)
Clustering
GreedyAgglomerative. improveClustering(Clustering clustering)
For each pair of clusters, calculate the score of theNeighbor
that would result from merging the two clusters.Clustering
GreedyAgglomerativeByDensity. improveClustering(Clustering clustering)
abstract Clustering
HillClimbingClusterer. improveClustering(Clustering clustering)
void
Clusterings. set(int i, Clustering clustering)
protected void
GreedyAgglomerative. updateScoreMatrix(Clustering clustering, int i, int j)
Resets the values of clusters that have been merged.Constructors in cc.mallet.cluster with parameters of type Clustering Constructor Description Clusterings(Clustering[] clusterings)
-
Uses of Clustering in cc.mallet.cluster.clustering_scorer
Methods in cc.mallet.cluster.clustering_scorer with parameters of type Clustering Modifier and Type Method Description double
ClusteringScorer. score(Clustering clustering)
double
PairwiseScorer. score(Clustering clustering)
-
Uses of Clustering in cc.mallet.cluster.evaluate
Methods in cc.mallet.cluster.evaluate with parameters of type Clustering Modifier and Type Method Description java.lang.String
AccuracyEvaluator. evaluate(Clustering truth, Clustering predicted)
java.lang.String
BCubedEvaluator. evaluate(Clustering truth, Clustering predicted)
java.lang.String
ClusteringEvaluator. evaluate(Clustering[] truth, Clusterer clusterer)
java.lang.String
ClusteringEvaluator. evaluate(Clustering[] truth, Clustering[] predicted)
abstract java.lang.String
ClusteringEvaluator. evaluate(Clustering truth, Clustering predicted)
java.lang.String
ClusteringEvaluators. evaluate(Clustering truth, Clustering predicted)
java.lang.String
MUCEvaluator. evaluate(Clustering truth, Clustering predicted)
java.lang.String
PairF1Evaluator. evaluate(Clustering truth, Clustering predicted)
double[]
AccuracyEvaluator. getEvaluationScores(Clustering truth, Clustering predicted)
double[]
BCubedEvaluator. getEvaluationScores(Clustering truth, Clustering predicted)
abstract double[]
ClusteringEvaluator. getEvaluationScores(Clustering truth, Clustering predicted)
double[]
ClusteringEvaluators. getEvaluationScores(Clustering truth, Clustering predicted)
double[]
MUCEvaluator. getEvaluationScores(Clustering truth, Clustering predicted)
double[]
PairF1Evaluator. getEvaluationScores(Clustering truth, Clustering predicted)
-
Uses of Clustering in cc.mallet.cluster.iterator
Fields in cc.mallet.cluster.iterator declared as Clustering Modifier and Type Field Description protected Clustering
NeighborIterator. clustering
Methods in cc.mallet.cluster.iterator that return Clustering Modifier and Type Method Description protected Clustering
NeighborIterator. getClustering()
Constructors in cc.mallet.cluster.iterator with parameters of type Clustering Constructor Description AllPairsIterator(Clustering clustering)
ClusterSampleIterator(Clustering clustering, Randoms random, double positiveProportion, int numberSamples)
NeighborIterator(Clustering clustering)
NodeClusterSampleIterator(Clustering clustering, Randoms random, double positiveProportion, int numberSamples)
PairSampleIterator(Clustering clustering, Randoms random, double positiveProportion, int numberSamples)
-
Uses of Clustering in cc.mallet.cluster.neighbor_evaluator
Methods in cc.mallet.cluster.neighbor_evaluator that return Clustering Modifier and Type Method Description Clustering
Neighbor. getModified()
Clustering
Neighbor. getOriginal()
Constructors in cc.mallet.cluster.neighbor_evaluator with parameters of type Clustering Constructor Description AgglomerativeNeighbor(Clustering original, Clustering modified, int[][] oldClusters)
AgglomerativeNeighbor(Clustering original, Clustering modified, int[] oldCluster1, int[] oldCluster2)
AgglomerativeNeighbor(Clustering original, Clustering modified, int oldCluster1, int oldCluster2)
Neighbor(Clustering original, Clustering modified)
-
Uses of Clustering in cc.mallet.cluster.util
Methods in cc.mallet.cluster.util that return Clustering Modifier and Type Method Description static Clustering
ClusterUtils. copyAndMergeClusters(Clustering clustering, int i, int j)
static Clustering
ClusterUtils. copyAndMergeInstances(Clustering clustering, int[] instances)
static Clustering
ClusterUtils. copyAndMergeInstances(Clustering clustering, int i, int j)
static Clustering
ClusterUtils. copyWithNewLabels(Clustering clustering)
static Clustering
ClusterUtils. createRandomClustering(InstanceList instances, Randoms random)
static Clustering
ClusterUtils. createSingletonClustering(InstanceList instances)
Initializes Clustering to one Instance per cluster.static Clustering
ClusterUtils. mergeClusters(Clustering clustering, int labeli, int labelj)
Relabels the clustering to reflect merging clusters i and j.static Clustering
ClusterUtils. mergeInstances(Clustering clustering, int[] instances)
Merge clusters containing the specified instances.static Clustering
ClusterUtils. mergeInstances(Clustering clustering, int i, int j)
static Clustering
ClusterUtils. mergeInstancesWithSameLabel(Clustering clustering)
static Clustering
ClusterUtils. shatterInstances(Clustering clustering, int[] indices)
Methods in cc.mallet.cluster.util with parameters of type Clustering Modifier and Type Method Description static Clustering
ClusterUtils. copyAndMergeClusters(Clustering clustering, int i, int j)
static Clustering
ClusterUtils. copyAndMergeInstances(Clustering clustering, int[] instances)
static Clustering
ClusterUtils. copyAndMergeInstances(Clustering clustering, int i, int j)
static Clustering
ClusterUtils. copyWithNewLabels(Clustering clustering)
static int[]
ClusterUtils. getCombinedInstances(Clustering clustering, int i, int j)
static Clustering
ClusterUtils. mergeClusters(Clustering clustering, int labeli, int labelj)
Relabels the clustering to reflect merging clusters i and j.static Clustering
ClusterUtils. mergeInstances(Clustering clustering, int[] instances)
Merge clusters containing the specified instances.static Clustering
ClusterUtils. mergeInstances(Clustering clustering, int i, int j)
static Clustering
ClusterUtils. mergeInstancesWithSameLabel(Clustering clustering)
static Clustering
ClusterUtils. shatterInstances(Clustering clustering, int[] indices)
-