php8.5
Home/ Manual/ svm / svm/ SVM::setOptions

SVM::setOptions

PHP function Edit on GitHub ✎

(PECL svm >= 0.1.0)

Set training parameters

Description

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.

Source: reference/svm/svm/setoptions.xml · from the official PHP manual (php/doc-en)