SVMModel::__construct
SVMModel::getNrClass
SVMModel
PHP Manual

# SVMModel::getLabels

(PECL svm >= 0.1.5)

SVMModel::getLabels — Get the labels the model was trained on

### Descrição

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.

### Parâmetros

Esta função não possui parâmetros.

### Valor Retornado

Return an array of labels

### Veja Também

- SVMModel::getNrClass() - Returns the number of classes the model was trained with

SVMModel::__construct
SVMModel::getNrClass
SVMModel
PHP Manual