|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of Model in liblinear |
|---|
| Methods in liblinear that return Model | |
|---|---|
static Model |
Model.load(java.io.File file)
see Linear.loadModel(File) |
static Model |
Model.load(java.io.Reader inputReader)
see Linear.loadModel(Reader) |
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)
|
| Methods in liblinear with parameters of type Model | |
|---|---|
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. |
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||