Package cc.mallet.classify
Class ClassifierTrainer.Factory<CT extends ClassifierTrainer<? extends Classifier>>
- java.lang.Object
-
- cc.mallet.classify.ClassifierTrainer.Factory<CT>
-
- Direct Known Subclasses:
DecisionTreeTrainer.Factory
,NaiveBayesTrainer.Factory
- Enclosing class:
- ClassifierTrainer<C extends Classifier>
public abstract static class ClassifierTrainer.Factory<CT extends ClassifierTrainer<? extends Classifier>> extends java.lang.Object
Instances of a Factory know how to create new ClassifierTrainers to apply to new Classifiers.
-
-
Constructor Summary
Constructors Constructor Description Factory()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description CT
newClassifierTrainer()
abstract CT
newClassifierTrainer(Classifier initialClassifier)
java.lang.String
toString()
-
-
-
Method Detail
-
newClassifierTrainer
public abstract CT newClassifierTrainer(Classifier initialClassifier)
-
newClassifierTrainer
public CT newClassifierTrainer()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-