SVMModel::save

(PECL svm >= 0.1.0)

SVMModel::saveSave a model to a file

说明

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

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.

参见