W3cubDocs

/PHP

SVMModel::getSvmType

(PECL svm >= 0.1.5)

SVMModel::getSvmTypeGet the SVM type the model was trained with

Description

public SVMModel::getSvmType ( ) : int

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

Parameters

This function has no parameters.

Return Values

Return an integer SVM type

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