SVMModel
PHP Manual

SVMModel::getLabels

(PECL svm >= 0.1.5)

SVMModel::getLabelsGet the labels the model was trained on

説明

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.

パラメータ

この関数にはパラメータはありません。

返り値

Return an array of labels

参考


SVMModel
PHP Manual