You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kelvin Ng edited this page Dec 22, 2016
·
1 revision
LabeledPoint is a class for representing labeled data mainly for supervised machine learning.
It is basically a struct with two members, x and y. x is for storing the data and y is for storing the corresponding label. Usually LabeledPoint is used with Vector, with x being a Vector, but this is not a must.