Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<SVMModel::checkProbabilityModelSVMModel::getLabels>
^SVMModelLast updated: Mon, 26 Oct 2026

SVMModel::__construct

(PECL svm >= 0.1.0)

SVMModel::__construct — Construct a new SVMModel

Description

public function SVMModel::__construct(string $filename = ?)

Build a new SVMModel. Models will usually be created from the SVM::train function, but then saved models may be restored directly.

Parameters

filename

The filename for the saved model file this model should load.

Errors/Exceptions

Throws a SVMException on error

See Also


<SVMModel::checkProbabilityModelSVMModel::getLabels>
^SVMModelLast updated: Mon, 26 Oct 2026