|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cc.mallet.classify.ClassifierTrainer.Factory<NaiveBayesTrainer> cc.mallet.classify.NaiveBayesTrainer.Factory
public static class NaiveBayesTrainer.Factory
Constructor Summary | |
---|---|
NaiveBayesTrainer.Factory()
|
Method Summary | |
---|---|
NaiveBayesTrainer |
newClassifierTrainer(Classifier initialClassifier)
|
NaiveBayesTrainer.Factory |
setDocLengthNormalization(double docLengthNormalization)
|
NaiveBayesTrainer.Factory |
setFeatureMultinomialEstimator(Multinomial.Estimator featureEstimator)
|
NaiveBayesTrainer.Factory |
setPriorMultinomialEstimator(Multinomial.Estimator priorEstimator)
|
Methods inherited from class cc.mallet.classify.ClassifierTrainer.Factory |
---|
newClassifierTrainer, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NaiveBayesTrainer.Factory()
Method Detail |
---|
public NaiveBayesTrainer newClassifierTrainer(Classifier initialClassifier)
newClassifierTrainer
in class ClassifierTrainer.Factory<NaiveBayesTrainer>
public NaiveBayesTrainer.Factory setDocLengthNormalization(double docLengthNormalization)
public NaiveBayesTrainer.Factory setFeatureMultinomialEstimator(Multinomial.Estimator featureEstimator)
public NaiveBayesTrainer.Factory setPriorMultinomialEstimator(Multinomial.Estimator priorEstimator)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |