SVMModel::getNrClass
(PECL svm >= 0.1.5)
SVMModel::getNrClass — Returns the number of classes the model was trained with
Описание
public int SVMModel::getNrClass
( void
)
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 Руководство
- Функции по категориям
- Индекс функций
- Справочник функций
- Другие службы
- Support Vector Machine
- Функция SVMModel::checkProbabilityModel() - Returns true if the model has probability information
- Функция SVMModel::__construct() - Construct a new SVMModel
- Функция SVMModel::getLabels() - Get the labels the model was trained on
- Функция SVMModel::getNrClass() - Returns the number of classes the model was trained with
- Функция SVMModel::getSvmType() - Get the SVM type the model was trained with
- Функция SVMModel::getSvrProbability() - Get the sigma value for regression types
- Функция SVMModel::load() - Load a saved SVM Model
- Функция SVMModel::predict_probability() - Return class probabilities for previous unseen data
- Функция SVMModel::predict() - Predict a value for previously unseen data
- Функция SVMModel::save() - Save a model to a file
Коментарии
404 Not Found