# Data Mining - (Class|Category|Label) Target

A class is the category for a classifier which is given by the target. The number of class to be predicted define the classification problem.

A class is also known as a label.

## 3 - Spark

from pyspark.mllib.regression import LabeledPoint

firstLabeledPoint = LabeledPoint('Play',[1,2,3])
SecondLabeledPoint = LabeledPoint('Don''t Play',[2,2,3])

firstLabeledPoint.label
firstLabeledPoint.features