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 ModelModel. load(java.io.File modelFile)Deprecated.useload(Path)insteadstatic ModelModel. load(java.io.Reader inputReader)static ModelModel. load(java.nio.file.Path modelPath)static ModelLinear. loadModel(java.io.File modelFile)Deprecated.useLinear.loadModel(Path)insteadstatic ModelLinear. loadModel(java.io.Reader inputReader)Loads the model from inputReader.static ModelLinear. loadModel(java.nio.file.Path modelPath)Loads the model from the file with ISO-8859-1 charset.static ModelLinear. train(Problem prob, Parameter param)Methods in de.bwaldvogel.liblinear with parameters of type Model Modifier and Type Method Description (package private) static voidPredict. doPredict(java.io.BufferedReader reader, java.io.Writer writer, Model model, boolean flag_predict_probability)Note: The streams are NOT closedstatic doubleLinear. predict(Model model, Feature[] x)static doubleLinear. predictProbability(Model model, Feature[] x, double[] prob_estimates)static doubleLinear. predictValues(Model model, Feature[] x, double[] dec_values)static voidLinear. saveModel(java.io.File modelFile, Model model)Deprecated.useLinear.saveModel(Path, Model)insteadstatic voidLinear. saveModel(java.io.Writer modelOutput, Model model)Writes the model to the modelOutput.static voidLinear. saveModel(java.nio.file.Path modelPath, Model model)Writes the model to the file with ISO-8859-1 charset.
-