mahout-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smar...@apache.org
Subject svn commit: r1587481 - /mahout/trunk/core/src/main/java/org/apache/mahout/classifier/naivebayes/training/TrainNaiveBayesJob.java
Date Tue, 15 Apr 2014 09:19:31 GMT
Author: smarthi
Date: Tue Apr 15 09:19:30 2014
New Revision: 1587481

URL: http://svn.apache.org/r1587481
Log:
MAHOUT-1504:minor fx to reference relevant section of the Rennie paper

Modified:
    mahout/trunk/core/src/main/java/org/apache/mahout/classifier/naivebayes/training/TrainNaiveBayesJob.java

Modified: mahout/trunk/core/src/main/java/org/apache/mahout/classifier/naivebayes/training/TrainNaiveBayesJob.java
URL: http://svn.apache.org/viewvc/mahout/trunk/core/src/main/java/org/apache/mahout/classifier/naivebayes/training/TrainNaiveBayesJob.java?rev=1587481&r1=1587480&r2=1587481&view=diff
==============================================================================
--- mahout/trunk/core/src/main/java/org/apache/mahout/classifier/naivebayes/training/TrainNaiveBayesJob.java
(original)
+++ mahout/trunk/core/src/main/java/org/apache/mahout/classifier/naivebayes/training/TrainNaiveBayesJob.java
Tue Apr 15 09:19:30 2014
@@ -133,7 +133,8 @@ public final class TrainNaiveBayesJob ex
     // Put the per label and per feature vectors into the cache
     HadoopUtil.cacheFiles(getTempPath(WEIGHTS), getConf());
 
-    // Calculate the per label theta normalizers, write out to LABEL_THETA_NORMALIZER vector
-- Rennie 3.2
+    // Calculate the per label theta normalizers, write out to LABEL_THETA_NORMALIZER vector
+    // see http://people.csail.mit.edu/jrennie/papers/icml03-nb.pdf - Section 3.2, Weight
Magnitude Errors
     Job thetaSummer = prepareJob(getTempPath(SUMMED_OBSERVATIONS),
                                  getTempPath(THETAS),
                                  SequenceFileInputFormat.class,



Mime
View raw message