(PECL svm >= 0.1.5)
SVMModel::getLabels — Get the labels the model was trained on
public 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.
This function has no parameters.
Return an array of labels
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/svmmodel.getlabels.php