/[Apache-SVN]
ViewVC logotype

Revision 1243387


Jump to revision: Previous Next
Author: jeastman
Date: Mon Feb 13 01:05:46 2012 UTC (12 years, 1 month ago)
Changed paths: 7
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


Changed paths

Path Details
Directorymahout/trunk/core/src/main/java/org/apache/mahout/clustering/kmeans/KMeansClusterMapper.java modified , text changed
Directorymahout/trunk/core/src/main/java/org/apache/mahout/clustering/kmeans/KMeansClusterer.java modified , text changed
Directorymahout/trunk/core/src/main/java/org/apache/mahout/clustering/kmeans/KMeansCombiner.java modified , text changed
Directorymahout/trunk/core/src/main/java/org/apache/mahout/clustering/kmeans/KMeansMapper.java modified , text changed
Directorymahout/trunk/core/src/main/java/org/apache/mahout/clustering/kmeans/KMeansReducer.java modified , text changed
Directorymahout/trunk/core/src/main/java/org/apache/mahout/clustering/kmeans/KMeansUtil.java modified , text changed
Directorymahout/trunk/core/src/main/java/org/apache/mahout/clustering/kmeans/RandomSeedGenerator.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26