Log Message: |
MAHOUT-933:
- Model: renamed count() to getNumObservations() and added getTotalObservations()
- Cluster: removed getNumPoints() which was redundant with getNumObservations()
- AbstractCluster: renamed numPoints to numObservations and added totalObservations. Aded observation statistics to persistent state, updating write() and readFields() to serialize these fields and totalObservations
- CIMapper: added code to update policy based upon classifier model's state (esp totalObservations for Dirichlet)
- DirichletClusteringPolicy: removed totalCounts now in each model and changed update to use given prior models' totalCounts
- FuzzyKMeansClusteringPolicy: added m and convergenceDelta
- KMeansClusteringPolicy: added convergenceDelta
- Adjusted many other classes to account for these fundamental changes
All tests run
|