SVMModel::save

(PECL svm >= 0.1.0)

SVMModel::saveSave a model to a file

Description

public 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