Data Mining - (Class|Category|Label) Target

1 - About

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
data_mining/class.txt · Last modified: 2015/07/11 14:46 by gerardnico