(PECL svm >= 0.1.5)
SVMModel::getNrClass — Returns the number of classes the model was trained with
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