public interface InstanceModel extends Model
Modifier and Type | Method and Description |
---|---|
void |
addInstance(FeatureVector featureVector,
SingleDecision decision) |
void |
decreaseFrequency() |
FeatureVector |
extract(FeatureVector featureVector) |
void |
increaseFrequency() |
boolean |
predict(FeatureVector featureVector,
SingleDecision decision) |
FeatureVector |
predictExtract(FeatureVector featureVector,
SingleDecision decision) |
void |
train() |
finalizeSentence, getGuide, getModelName, noMoreInstances, terminate
void addInstance(FeatureVector featureVector, SingleDecision decision) throws MaltChainedException
MaltChainedException
boolean predict(FeatureVector featureVector, SingleDecision decision) throws MaltChainedException
MaltChainedException
FeatureVector predictExtract(FeatureVector featureVector, SingleDecision decision) throws MaltChainedException
MaltChainedException
FeatureVector extract(FeatureVector featureVector) throws MaltChainedException
MaltChainedException
void train() throws MaltChainedException
MaltChainedException
void increaseFrequency()
void decreaseFrequency()
Copyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.