SVMModel::__construct

(PECL svm >= 0.1.0)

SVMModel::__constructConstruct a new SVMModel

Description

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.

Parameters

filename

The filename for the saved model file this model should load.

Return Values

Throws SVMException on error

See Also

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/svmmodel.construct.php