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 maxdb 函数 returns the number of parameter for the given statementphp tidy 函数 returns the number of tidy configuration errors encountered for specified documentphp tidy 函数 returns the number of tidy errors encountered for specified documentphp win32service 函数 returns the last control message that was sent to this servicephp mongodb driver monitoring commandsucceededevent returns the server on which the command was executedphp mongodb driver writeresult returns the number of existing documents updatedphp quickhashintstringhash returns the number of elements in the hashphp solrillegalargumentexception returns internal information where the exception was thrownphp solrillegaloperationexception returns internal information where the exception was thrownphp solrinputdocument returns the number of fields in the documentphp solrquery returns the maximum number of constraint counts that should be returned for the facet fieldsphp solrquery returns the maximum number of characters of the field to returnphp solrquery returns the maximum number of characters into a document to look for suitable snippetsphp solrquery returns the maximum number of tokens to parse in each document field that is not stored with termvector supportphp 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 with
关注编程学问公众号