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

classSVMModel {
public__construct(string$filename = ?)
publicgetLabels(): array
publicgetNrClass(): int
publicgetSvmType(): int
publicload(string$filename): bool
publicpredict(array$data): float
publicsave(string$filename): bool
}

Table of Contents

To Top