|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.cmu.minorthird.classify.sequential.CMMLearner
public class CMMLearner
Train a CMM (in batch mode).
Constructor Summary | |
---|---|
CMMLearner()
|
|
CMMLearner(ClassifierLearner baseLearner,
int historySize)
|
Method Summary | |
---|---|
SequenceClassifier |
batchTrain(SequenceDataset dataset)
|
int |
getHistorySize()
Return the number of previous predictions used as features in learning. |
void |
setHistorySize(int newHistorySize)
|
void |
setSchema(ExampleSchema schema)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CMMLearner()
public CMMLearner(ClassifierLearner baseLearner, int historySize)
Method Detail |
---|
public int getHistorySize()
SequenceClassifierLearner
getHistorySize
in interface SequenceClassifierLearner
public void setHistorySize(int newHistorySize)
public void setSchema(ExampleSchema schema)
setSchema
in interface SequenceClassifierLearner
public SequenceClassifier batchTrain(SequenceDataset dataset)
batchTrain
in interface BatchSequenceClassifierLearner
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |