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 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 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 solrillegalargumentexception returns internal information where the exception was thrownphp solrinputdocument returns the number of fields in the documentphp solrquery returns the number of characters of fragments to consider for highlightingphp solrquery returns the maximum number of characters of the field to returnphp 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
关注编程学问公众号