PHP 8.5.0 RC4 available for testing

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

class SVMModel {
/* Methods */
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

Found A Problem?

Learn How To Improve This PageSubmit a Pull RequestReport a Bug
+add a note

User Contributed Notes

There are no user contributed notes for this page.

AltStyle によって変換されたページ (->オリジナル) /