Php/docs/class.svmmodel

From Get docs

(PECL svm >= 0.1.0)

Introduction

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


Class synopsis


SVMModel {

/* Methods */

public checkProbabilityModel ( ) : bool

public __construct ([ string $filename ] )

public getLabels ( ) : array

public getNrClass ( ) : int

public getSvmType ( ) : int

public getSvrProbability ( ) : float

public load ( string $filename ) : bool

public predict_probability ( array $data ) : float

public predict ( array $data ) : float

public save ( string $filename ) : bool

}

Table of Contents