public class LibSvm extends Lib
Lib.Verbostity
featureMap, model, verbosity
BATCH, CLASSIFY
Constructor and Description |
---|
LibSvm(InstanceModel owner,
java.lang.Integer learnerMode) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAllowedLibOptionFlags() |
java.util.LinkedHashMap<java.lang.String,java.lang.String> |
getDefaultLibOptions() |
void |
terminate() |
protected void |
trainExternal(java.lang.String pathExternalTrain,
java.util.LinkedHashMap<java.lang.String,java.lang.String> libOptions) |
protected void |
trainInternal(java.util.LinkedHashMap<java.lang.String,java.lang.String> libOptions) |
addInstance, binariesInstance, binariesInstances2SVMFileFormat, closeInstanceWriter, decreaseNumberOfInstances, finalize, finalizeSentence, getConfigFileEntryObject, getConfiguration, getFile, getInputStreamFromConfigFileEntry, getInstanceInputStreamReader, getInstanceOutputStreamWriter, getInstanceWriter, getLearnerMode, getLearningMethodName, getLibParamStringArray, getNumberOfInstances, getOwner, increaseNumberOfInstances, loadFeatureMap, moveAllInstances, noMoreInstances, parseParameters, predict, saveFeatureMap, setNumberOfInstances, toString, train
public LibSvm(InstanceModel owner, java.lang.Integer learnerMode) throws MaltChainedException
MaltChainedException
protected void trainInternal(java.util.LinkedHashMap<java.lang.String,java.lang.String> libOptions) throws MaltChainedException
trainInternal
in class Lib
MaltChainedException
protected void trainExternal(java.lang.String pathExternalTrain, java.util.LinkedHashMap<java.lang.String,java.lang.String> libOptions) throws MaltChainedException
trainExternal
in class Lib
MaltChainedException
public void terminate() throws MaltChainedException
terminate
in interface LearningMethod
terminate
in class Lib
MaltChainedException
public java.util.LinkedHashMap<java.lang.String,java.lang.String> getDefaultLibOptions()
getDefaultLibOptions
in class Lib
public java.lang.String getAllowedLibOptionFlags()
getAllowedLibOptionFlags
in class Lib
Copyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.