The SVMModel class


(PECL svm >= 0.1.0)

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

Обзор классов

SVMModel {
/* Methods */
public bool checkProbabilityModel ( void )
public __construct ([ string $filename ] )
public array getLabels ( void )
public int getNrClass ( void )
public int getSvmType ( void )
public float getSvrProbability ( void )
public bool load ( string $filename )
public float predict_probability ( array $data )
public float predict ( array $data )
public bool save ( string $filename )
}

Содержание