SVMModel::getNrClass

(PECL svm >= 0.1.5)

SVMModel::getNrClassReturns the number of classes the model was trained with

说明

public SVMModel::getNrClass ( void ) : int

Returns the number of classes the model was trained with, will return 2 for one class and regression models.

参数

此函数没有参数。

返回值

Return an integer number of classes

相关文章
php informix 函数 returns the number of columns in the queryphp postgresql 函数 returns the type id oid for the corresponding field numberphp tidy 函数 returns the number of tidy accessibility warnings encountered for specified documentphp tidy 函数 returns the number of tidy configuration errors encountered for specified documentphp win32service 函数 returns the last control message that was sent to this servicephp yaz 函数 returns number of hits for last searchphp imagick returns the number of images in the objectphp mongodb driver writeresult returns the number of documents inserted excluding upserts php mongodb driver writeresult returns the number of documents selected for updatephp mongodb driver writeresult returns the number of existing documents updatedphp mysqli stmt returns the number of parameter for the given statementphp mysqlnduhconnection returns the number of warnings from the last query for the given linkphp solrclientexception returns internal information where the exception was thrownphp solrquery returns the number of characters of fragments to consider for highlightingphp solrquery returns the maximum number of query terms that will be included in any generated queryphp solrserverexception returns internal information where the exception was thrownphp svmmodel returns true if the model has probability informationphp svmmodel get the labels the model was trained onphp svmmodel returns the number of classes the model was trained withphp svmmodel get the svm type the model was trained with
关注编程学问公众号