(PECL svm >= 0.1.0)
The SVMModel is the end result of the training process. It can be used to classify previously unseen data.
public checkProbabilityModel(): bool
public getLabels(): array
public getNrClass(): int
public getSvmType(): int
public getSvrProbability(): float
public load(string $filename): bool
public predict(array $data): float
public predict_probability(array $data): float
public save(string $filename): bool}
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/class.svmmodel.php