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::predict_probabilitySVMException>
^SVMModelLast updated: Mon, 26 Oct 2026

SVMModel::save

(PECL svm >= 0.1.0)

SVMModel::save — Save a model to a file

Description

public function SVMModel::save(string $filename): bool

Save the model data to a file, for later use.

Parameters

filename

The file to save the model to.

Return Values

Throws SVMException on error. Returns true on success.

See Also


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