SVMModel::getLabels

Get the labels the model was trained on

Description

public array SVMModel::getLabels()

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