The SVMModel class

Introduction

The SVMModel is the end result of the training process. It can be used to classify previously unseen data.

Class synopsis

SVMModel
class SVMModel {
/* Methods */
public __construct(string $filename = ?)
public bool checkProbabilityModel()
public array getLabels()
public int getNrClass()
public int getSvmType()
public float getSvrProbability()
public bool load(string $filename)
public float predict(array $data)
public float predict_probability(array $data)
public bool save(string $filename)
}
Table of Contents