| 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 double |
Linear.predict(Model model,
Feature[] x) |
static double |
Linear.predictProbability(Model model,
Feature[] x,
double[] prob_estimates) |
static double |
Linear.predictValues(Model model,
Feature[] 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.
|
Copyright © 2012. All Rights Reserved.