SVMModel::getLabels
PHP function
Edit on GitHub ✎
(PECL svm >= 0.1.5)
Get the labels the model was trained on
Description
SVMModel::getLabels(): array
Return an array of labels that the model was trained on. For regression and one class models an empty array is returned.
Parameters Parameters
Return Values
Return an array of labels
See Also
SVMModel::getNrClass