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.

ÀàÕªÒª

class SVMModel {
/* ·½·¨ */
public __construct(string $filename = ?)
public getLabels(): array
public getNrClass(): int
public getSvmType(): int
public load(string $filename): bool
public predict(array $data): float
public save(string $filename): bool
}

Table of Contents