SVMModel
PHP Manual

SVMModel::getSvmType

(PECL svm >= 0.1.5)

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

说明

public int SVMModel::getSvmType ( void )

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

参数

此函数没有参数。

返回值

Return an integer SVM type


SVMModel
PHP Manual