SVMModel
PHP 手册

SVMModel::save

(PECL svm >= 0.1.0)

SVMModel::saveSave a model to a file

说明

public bool SVMModel::save ( string $filename )

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

参数

filename

The file to save the model to.

返回值

Throws SVMException on error. Returns true on success.

参见


SVMModel
PHP 手册