SVMModel::getLabels
(PECL svm >= 0.1.5)
SVMModel::getLabels — Get the labels the model was trained on
Description
public array SVMModel::getLabels
( void
)
Return an array of labels that the model was trained on. For regression and one class models an empty array is returned.
Parameters
This function has no parameters.
Return Values
Return an array of labels
- 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