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 | 
|---|---|
abstract static R | 
apply(T1 v1,
     T2 v2)  | 
Vector | 
features()  | 
Vector | 
getFeatures()  | 
double | 
getLabel()  | 
double | 
label()  | 
String | 
toString()  | 
public LabeledPoint(double label,
                    Vector features)