public class LibLinear extends Lib
Lib.Verbostity
featureMap, model, verbosity
BATCH, CLASSIFY
Constructor and Description |
---|
LibLinear(InstanceModel owner,
Integer learnerMode) |
Modifier and Type | Method and Description |
---|---|
static boolean |
eliminate(double[] a) |
String |
getAllowedLibOptionFlags() |
LinkedHashMap<String,String> |
getDefaultLibOptions() |
void |
terminate() |
protected void |
trainExternal(String pathExternalTrain,
LinkedHashMap<String,String> libOptions) |
protected void |
trainInternal(LinkedHashMap<String,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 LibLinear(InstanceModel owner, Integer learnerMode) throws MaltChainedException
MaltChainedException
protected void trainInternal(LinkedHashMap<String,String> libOptions) throws MaltChainedException
trainInternal
in class Lib
MaltChainedException
public static boolean eliminate(double[] a)
protected void trainExternal(String pathExternalTrain, LinkedHashMap<String,String> libOptions) throws MaltChainedException
trainExternal
in class Lib
MaltChainedException
public void terminate() throws MaltChainedException
terminate
in interface LearningMethod
terminate
in class Lib
MaltChainedException
public LinkedHashMap<String,String> getDefaultLibOptions()
getDefaultLibOptions
in class Lib
public String getAllowedLibOptionFlags()
getAllowedLibOptionFlags
in class Lib
Copyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.