SVMModel::getLabels
(PECL svm >= 0.1.5)
SVMModel::getLabels — Get the labels the model was trained on
Description
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
See Also
- SVMModel::getNrClass() - Returns the number of classes the model was trained with
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
