Uses of Class
de.bwaldvogel.liblinear.Model
-
-
Uses of Model in de.bwaldvogel.liblinear
Methods in de.bwaldvogel.liblinear that return Model Modifier and Type Method Description static Model
Model. load(java.io.File modelFile)
Deprecated.useload(Path)
insteadstatic Model
Model. load(java.io.Reader inputReader)
static Model
Model. load(java.nio.file.Path modelPath)
static Model
Linear. loadModel(java.io.File modelFile)
Deprecated.useLinear.loadModel(Path)
insteadstatic Model
Linear. loadModel(java.io.Reader inputReader)
Loads the model from inputReader.static Model
Linear. loadModel(java.nio.file.Path modelPath)
Loads the model from the file with ISO-8859-1 charset.static Model
Linear. train(Problem prob, Parameter param)
Methods in de.bwaldvogel.liblinear with parameters of type Model Modifier and Type Method Description (package private) static void
Predict. doPredict(java.io.BufferedReader reader, java.io.Writer writer, Model model, boolean flag_predict_probability)
Note: The streams are NOT closedstatic 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)
Deprecated.useLinear.saveModel(Path, Model)
insteadstatic void
Linear. saveModel(java.io.Writer modelOutput, Model model)
Writes the model to the modelOutput.static void
Linear. saveModel(java.nio.file.Path modelPath, Model model)
Writes the model to the file with ISO-8859-1 charset.
-