org.apache.mahout.clustering
Interface ClusteringPolicy

All Known Implementing Classes:
DirichletClusteringPolicy, FuzzyKMeansClusteringPolicy, KMeansClusteringPolicy

public interface ClusteringPolicy

A ClusteringPolicy captures the semantics of assignment of points to clusters


Method Summary
 Vector select(Vector probabilities)
          Return the index of the most appropriate model
 void update(ClusterClassifier posterior)
          Update the policy with the given classifier
 

Method Detail

select

Vector select(Vector probabilities)
Return the index of the most appropriate model

Parameters:
probabilities - a Vector of pdfs
Returns:
a Vector of weights

update

void update(ClusterClassifier posterior)
Update the policy with the given classifier

Parameters:
posterior - a ClusterClassifier


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.