This is an automated email from the ASF dual-hosted git repository.
koji pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/opennlp.git
The following commit(s) were added to refs/heads/master by this push:
new 2d1783c OPENNLP-1145: Javadoc of NaiveBayesTrainer class looks
incorrect (#276)
2d1783c is described below
commit 2d1783c5b123e2f0f5fafb7ed3fc1c5faf84f922
Author: Koji Sekiguchi <[email protected]>
AuthorDate: Mon Oct 23 19:30:47 2017 +0900
OPENNLP-1145: Javadoc of NaiveBayesTrainer class looks incorrect (#276)
Thanks everyone for reviewing this! :)
---
.../main/java/opennlp/tools/ml/naivebayes/NaiveBayesTrainer.java | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git
a/opennlp-tools/src/main/java/opennlp/tools/ml/naivebayes/NaiveBayesTrainer.java
b/opennlp-tools/src/main/java/opennlp/tools/ml/naivebayes/NaiveBayesTrainer.java
index 69ef44e..63c3244 100644
---
a/opennlp-tools/src/main/java/opennlp/tools/ml/naivebayes/NaiveBayesTrainer.java
+++
b/opennlp-tools/src/main/java/opennlp/tools/ml/naivebayes/NaiveBayesTrainer.java
@@ -27,11 +27,10 @@ import opennlp.tools.ml.model.MutableContext;
import opennlp.tools.util.TrainingParameters;
/**
- * Trains models using the perceptron algorithm. Each outcome is represented
as
- * a binary perceptron classifier. This supports standard (integer) weighting
as well
- * average weighting as described in:
- * Discriminative Training Methods for Hidden Markov Models: Theory and
Experiments
- * with the Perceptron Algorithm. Michael Collins, EMNLP 2002.
+ * Trains models using the combination of EM algorithm and Naive Bayes
classifier
+ * which is described in:
+ * Text Classification from Labeled and Unlabeled Documents using EM
+ * Nigam, McCallum, et al paper of 2000
*/
public class NaiveBayesTrainer extends AbstractEventTrainer {
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].