Package | Description |
---|---|
de.bwaldvogel.liblinear |
Modifier and Type | Method and Description |
---|---|
static Model |
Model.load(java.io.File file)
|
static Model |
Model.load(java.io.Reader inputReader)
|
static Model |
Linear.loadModel(java.io.File modelFile)
Loads the model from the file with ISO-8859-1 charset.
|
static Model |
Linear.loadModel(java.io.Reader inputReader)
Loads the model from inputReader.
|
static Model |
Linear.train(Problem prob,
Parameter param) |
Modifier and Type | Method and Description |
---|---|
static int |
Linear.predict(Model model,
FeatureNode[] x) |
static int |
Linear.predictProbability(Model model,
FeatureNode[] x,
double[] prob_estimates) |
static int |
Linear.predictValues(Model model,
FeatureNode[] x,
double[] dec_values) |
static void |
Linear.saveModel(java.io.File modelFile,
Model model)
Writes the model to the file with ISO-8859-1 charset.
|
static void |
Linear.saveModel(java.io.Writer modelOutput,
Model model)
Writes the model to the modelOutput.
|