|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cc.mallet.classify.ClassifierTrainer<MaxEnt> cc.mallet.classify.MaxEntTrainer cc.mallet.classify.MaxEntL1Trainer
public class MaxEntL1Trainer
Nested Class Summary |
---|
Nested classes/interfaces inherited from class cc.mallet.classify.ClassifierTrainer |
---|
ClassifierTrainer.ByActiveLearning<C extends Classifier>, ClassifierTrainer.ByIncrements<C extends Classifier>, ClassifierTrainer.ByInstanceIncrements<C extends Classifier>, ClassifierTrainer.ByOptimization<C extends Classifier>, ClassifierTrainer.Factory<CT extends ClassifierTrainer<? extends Classifier>> |
Field Summary |
---|
Fields inherited from class cc.mallet.classify.ClassifierTrainer |
---|
finishedTraining, validationSet |
Constructor Summary | |
---|---|
MaxEntL1Trainer()
|
|
MaxEntL1Trainer(double l1wt)
|
|
MaxEntL1Trainer(MaxEnt initClassifier)
|
Method Summary | |
---|---|
Optimizer |
getOptimizer()
|
Optimizer |
getOptimizer(InstanceList trainingSet)
This method is called by the train method. |
Methods inherited from class cc.mallet.classify.MaxEntTrainer |
---|
getClassifier, getIteration, getOptimizable, getOptimizable, getOptimizable, setClassifier, setGaussianPriorVariance, setL1Weight, setNumIterations, toString, train, train |
Methods inherited from class cc.mallet.classify.ClassifierTrainer |
---|
getValidationInstances, isFinishedTraining, setValidationInstances |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MaxEntL1Trainer()
public MaxEntL1Trainer(double l1wt)
public MaxEntL1Trainer(MaxEnt initClassifier)
Method Detail |
---|
public Optimizer getOptimizer()
getOptimizer
in interface ClassifierTrainer.ByOptimization<MaxEnt>
getOptimizer
in class MaxEntTrainer
public Optimizer getOptimizer(InstanceList trainingSet)
MaxEntTrainer
getOptimizer
in class MaxEntTrainer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |