PHP 8.3.0 RC 6 available for testing

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 checkProbabilityModel(): bool
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
}

目录

add a note

User Contributed Notes

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