Predicts the class of inputData.
Predicted class index.
The single example with unknown label.
Predicts labels for all observation in dataset.
NOTE: Slow method.
Dataset.