# SVMModel::save

(PECL svm >= 0.1.0)

SVMModel::save — Save 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.

### 参见

- SVMModel::load() - Load a saved SVM Model

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open