pyspark.mllib.regression.
LabeledPoint
Class that represents the features and labels of a data point.
New in version 1.0.0.
Label for this data point.
pyspark.mllib.linalg.Vector
Vector of features for this point (NumPy array, list, pyspark.mllib.linalg.SparseVector, or scipy.sparse column matrix).
Notes
‘label’ and ‘features’ are accessible as class attributes.