public interface LearningMethod
| Modifier and Type | Method and Description |
|---|---|
void |
addInstance(SingleDecision decision,
FeatureVector featureVector) |
void |
decreaseNumberOfInstances() |
void |
finalizeSentence(DependencyStructure dependencyGraph) |
java.io.BufferedWriter |
getInstanceWriter() |
void |
increaseNumberOfInstances() |
void |
moveAllInstances(LearningMethod method,
FeatureFunction divideFeature,
java.util.ArrayList<java.lang.Integer> divideFeatureIndexVector) |
void |
noMoreInstances() |
boolean |
predict(FeatureVector features,
SingleDecision decision) |
void |
terminate() |
void |
train() |
static final int BATCH
static final int CLASSIFY
void addInstance(SingleDecision decision, FeatureVector featureVector) throws MaltChainedException
MaltChainedExceptionvoid finalizeSentence(DependencyStructure dependencyGraph) throws MaltChainedException
MaltChainedExceptionvoid noMoreInstances() throws MaltChainedException
MaltChainedExceptionvoid train() throws MaltChainedException
MaltChainedExceptionvoid moveAllInstances(LearningMethod method, FeatureFunction divideFeature, java.util.ArrayList<java.lang.Integer> divideFeatureIndexVector) throws MaltChainedException
MaltChainedExceptionvoid terminate() throws MaltChainedException
MaltChainedExceptionboolean predict(FeatureVector features, SingleDecision decision) throws MaltChainedException
MaltChainedExceptionjava.io.BufferedWriter getInstanceWriter()
void increaseNumberOfInstances()
void decreaseNumberOfInstances()
Copyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.