SVMModel::__construct
(PECL svm >= 0.1.0)
SVMModel::__construct — Construct a new SVMModel
说明
public
SVMModel::__construct ([
string
$filename
] )
Build a new SVMModel. Models will usually be created from the SVM::train function, but then saved models may be restored directly.
参数
-
filename
-
The filename for the saved model file this model should load.
返回值
Throws SVMException on error