php8.5
Home/ Manual/ svm / svmmodel/ SVMModel::save

SVMModel::save

PHP function Edit on GitHub ✎

(PECL svm >= 0.1.0)

Save a model to a file

Description

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::load

Source: reference/svm/svmmodel/save.xml · from the official PHP manual (php/doc-en)