B C D E F G H I L M N P R S T V X Y

B

bias - Variable in class liblinear.Problem
If bias >= 0, we assume that one additional feature is added to the end of each data instance

C

copyOf(double[], int) - Static method in class liblinear.Linear
Java5 'backport' of Arrays.copyOf
copyOf(int[], int) - Static method in class liblinear.Linear
Java5 'backport' of Arrays.copyOf
crossValidation(Problem, Parameter, int, int[]) - Static method in class liblinear.Linear
 

D

disableDebugOutput() - Static method in class liblinear.Linear
 

E

enableDebugOutput() - Static method in class liblinear.Linear
 
equals(Object) - Method in class liblinear.FeatureNode
 
equals(Object) - Method in class liblinear.Model
 
equals(double[], double[]) - Static method in class liblinear.Model
don't use Arrays.equals(double[], double[]) here, cause 0.0 and -0.0 should be handled the same

F

FeatureNode - Class in liblinear
 
FeatureNode(int, double) - Constructor for class liblinear.FeatureNode
 

G

getBias() - Method in class liblinear.Model
 
getC() - Method in class liblinear.Parameter
 
getEps() - Method in class liblinear.Parameter
 
getFeatureWeights() - Method in class liblinear.Model
The nr_feature*nr_class array w gives feature weights.
getFile() - Method in exception liblinear.InvalidInputDataException
 
getFilename() - Method in exception liblinear.InvalidInputDataException
Deprecated. use InvalidInputDataException.getFile() instead
getLabels() - Method in class liblinear.Model
 
getLine() - Method in exception liblinear.InvalidInputDataException
 
getNrClass() - Method in class liblinear.Model
 
getNrFeature() - Method in class liblinear.Model
 
getNumWeights() - Method in class liblinear.Parameter
the number of weights
getSolverType() - Method in class liblinear.Parameter
 
getWeightLabels() - Method in class liblinear.Parameter
 
getWeights() - Method in class liblinear.Parameter
 

H

hashCode() - Method in class liblinear.FeatureNode
 
hashCode() - Method in class liblinear.Model
 

I

index - Variable in class liblinear.FeatureNode
 
InvalidInputDataException - Exception in liblinear
 
InvalidInputDataException(String, File, int) - Constructor for exception liblinear.InvalidInputDataException
 
InvalidInputDataException(String, String, int) - Constructor for exception liblinear.InvalidInputDataException
 
InvalidInputDataException(String, File, int, NumberFormatException) - Constructor for exception liblinear.InvalidInputDataException
 
InvalidInputDataException(String, String, int, NumberFormatException) - Constructor for exception liblinear.InvalidInputDataException
 

L

l - Variable in class liblinear.Problem
the number of training data
liblinear - package liblinear
 
Linear - Class in liblinear
Java port of liblinear 1.51 The usage should be pretty similar to the C version of liblinear.
Linear() - Constructor for class liblinear.Linear
 
load(File) - Static method in class liblinear.Model
see Linear.loadModel(File)
load(Reader) - Static method in class liblinear.Model
see Linear.loadModel(Reader)
loadModel(Reader) - Static method in class liblinear.Linear
Loads the model from inputReader.
loadModel(File) - Static method in class liblinear.Linear
Loads the model from the file with ISO-8859-1 charset.

M

main(String[]) - Static method in class liblinear.Predict
 
main(String[]) - Static method in class liblinear.Train
 
Model - Class in liblinear
Model stores the model obtained from the training procedure use Linear#loadModel(String) and Linear#saveModel(String, Model) to load/save it
Model() - Constructor for class liblinear.Model
 

N

n - Variable in class liblinear.Problem
the number of features (including the bias feature if bias >= 0)

P

Parameter - Class in liblinear
 
Parameter(SolverType, double, double) - Constructor for class liblinear.Parameter
 
predict(Model, FeatureNode[]) - Static method in class liblinear.Linear
 
Predict - Class in liblinear
 
Predict() - Constructor for class liblinear.Predict
 
predictProbability(Model, FeatureNode[], double[]) - Static method in class liblinear.Linear
 
predictValues(Model, FeatureNode[], double[]) - Static method in class liblinear.Linear
 
Problem - Class in liblinear
Problem describes the problem For example, if we have the following training data: LABEL ATTR1 ATTR2 ATTR3 ATTR4 ATTR5 ----- ----- ----- ----- ----- ----- 1 0 0.1 0.2 0 0 2 0 0.1 0.3 -1.2 0 1 0.4 0 0 0 0 2 0 0.1 0 1.4 0.5 3 -0.1 -0.2 0.1 1.1 0.1 and bias = 1, then the components of problem are: l = 5 n = 6 y -> 1 2 1 2 3 x -> [ ] -> (2,0.1) (3,0.2) (6,1) (-1,?)
Problem() - Constructor for class liblinear.Problem
 

R

readFromFile(File, double) - Static method in class liblinear.Problem
see readProblem(File, double)
readProblem(File, double) - Static method in class liblinear.Train
reads a problem from LibSVM format
resetRandom() - Static method in class liblinear.Linear
resets the PRNG this is i.a. needed for regression testing (eg. the Weka wrapper)

S

save(File) - Method in class liblinear.Model
see Linear.saveModel(java.io.File, Model)
save(Writer) - Method in class liblinear.Model
see Linear.saveModel(Writer, Model)
saveModel(Writer, Model) - Static method in class liblinear.Linear
Writes the model to the modelOutput.
saveModel(File, Model) - Static method in class liblinear.Linear
Writes the model to the file with ISO-8859-1 charset.
setC(double) - Method in class liblinear.Parameter
C is the cost of constraints violation.
setDebugOutput(PrintStream) - Static method in class liblinear.Linear
 
setEps(double) - Method in class liblinear.Parameter
eps is the stopping criterion.
setSolverType(SolverType) - Method in class liblinear.Parameter
 
setWeights(double[], int[]) - Method in class liblinear.Parameter
nr_weight, weight_label, and weight are used to change the penalty for some classes (If the weight for a class is not changed, it is set to 1).
SolverType - Enum in liblinear
 

T

toString() - Method in class liblinear.FeatureNode
 
toString() - Method in exception liblinear.InvalidInputDataException
 
toString() - Method in class liblinear.Model
 
train(Problem, Parameter) - Static method in class liblinear.Linear
 
Train - Class in liblinear
 
Train() - Constructor for class liblinear.Train
 

V

value - Variable in class liblinear.FeatureNode
 
valueOf(String) - Static method in enum liblinear.SolverType
Returns the enum constant of this type with the specified name.
values() - Static method in enum liblinear.SolverType
Returns an array containing the constants of this enum type, in the order they're declared.

X

x - Variable in class liblinear.Problem
array of sparse feature nodes

Y

y - Variable in class liblinear.Problem
an array containing the target values

B C D E F G H I L M N P R S T V X Y

Copyright © 2010. All Rights Reserved.