SVMModel::getLabels

(PECL svm >= 0.1.5)

SVMModel::getLabelsGet 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.

参数

此函数没有参数。

返回值

Return an array of labels

参见

User Contributed Notes

There are no user contributed notes for this page.
PHP8中文手册 站长在线 整理 版权归PHP文档组所有