PHP 7.0.33 Released

The SVMModel class

(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 ( void ) : bool
public __construct ([ string $filename ] )
public getLabels ( void ) : array
public getNrClass ( void ) : int
public getSvmType ( void ) : int
public getSvrProbability ( void ) : 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

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top