Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<SVMModel::getNrClassSVMModel::getSvrProbability>
^SVMModelLast updated: Mon, 26 Oct 2026

SVMModel::getSvmType

(PECL svm >= 0.1.5)

SVMModel::getSvmType — Get the SVM type the model was trained with

Description

public function 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


<SVMModel::getNrClassSVMModel::getSvrProbability>
^SVMModelLast updated: Mon, 26 Oct 2026