PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

SVMModel::getLabels

(PECL svm >= 0.1.5)

SVMModel::getLabelsGet the labels the model was trained on

Description

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.

Parameters

This function has no parameters.

Return Values

Return an array of labels

See Also

PHP Manual