public class LabeledPoint
extends Object
implements scala.Product, scala.Serializable
param: label Label for this data point. param: features List of features for this data point.
| Constructor and Description | 
|---|
LabeledPoint(double label,
            Vector features)  | 
| Modifier and Type | Method and Description | 
|---|---|
Vector | 
features()  | 
Vector | 
getFeatures()  | 
double | 
getLabel()  | 
double | 
label()  | 
static LabeledPoint | 
parse(String s)
Parses a string resulted from  
LabeledPoint#toString into
 an LabeledPoint. | 
String | 
toString()  | 
public LabeledPoint(double label,
                    Vector features)
public static LabeledPoint parse(String s)
LabeledPoint#toString into
 an LabeledPoint.
 s - (undocumented)public double label()
public Vector features()
public double getLabel()
public Vector getFeatures()
public String toString()
toString in class Object