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 eventutil returns the most recent socket error numberphp svn 函数 returns the number of the youngest revision in the filesystemphp tidy 函数 returns the number of tidy errors encountered for specified documentphp hyperwave api 函数 returns number of reasonsphp hyperwave api 函数 returns number of attributesphp mongodb driver monitoring commandfailedevent returns the server on which the command was executedphp mongodb driver monitoring commandsucceededevent returns the server on which the command was executedphp mongodb driver writeresult returns the number of documents inserted by an upsertphp quickhashintstringhash returns the number of elements in the hashphp solrillegaloperationexception returns internal information where the exception was thrownphp solrquery returns the maximum number of constraint counts that should be returned for the facet fieldsphp solrquery returns the maximum number of characters into a document to look for suitable snippetsphp solrquery returns the maximum number of characters from a field when using the regex fragmenterphp solrquery returns the maximum number of terms solr should returnphp sqlite3result returns the number of columns in the result setphp 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 withphp ktaglib tag returns the track number from a id3 tag
关注编程学问公众号