php8.5
Home/ Manual/ svm / svmmodel/ SVMModel::getSvmType

SVMModel::getSvmType

PHP function Edit on GitHub ✎

(PECL svm >= 0.1.5)

Get the SVM type the model was trained with

Description

SVMModel::getSvmType(): int

Returns an integer value representing the type of the SVM model used, e.g SVM::C_SVC.

Parameters Parameters

Return Values

Return an integer SVM type

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