php / 8.1.5 / svm.setoptions.html /

SVM::setOptions

(PECL svm >= 0.1.0)

SVM::setOptionsSet training parameters

Description

public SVM::setOptions(array $params): bool

Set one or more training parameters.

Parameters

params

An array of training parameters, keyed on the SVM constants.

Return Values

Return true on success, throws SVMException on error.

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