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
MaltChainedException
void finalizeSentence(DependencyStructure dependencyGraph) throws MaltChainedException
MaltChainedException
void noMoreInstances() throws MaltChainedException
MaltChainedException
void train() throws MaltChainedException
MaltChainedException
void moveAllInstances(LearningMethod method, FeatureFunction divideFeature, java.util.ArrayList<java.lang.Integer> divideFeatureIndexVector) throws MaltChainedException
MaltChainedException
void terminate() throws MaltChainedException
MaltChainedException
boolean predict(FeatureVector features, SingleDecision decision) throws MaltChainedException
MaltChainedException
java.io.BufferedWriter getInstanceWriter()
void increaseNumberOfInstances()
void decreaseNumberOfInstances()
Copyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.