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) |
public LabeledPoint(double label,
Vector features)
public static LabeledPoint parse(String s)
public double label()
public Vector features()
public String toString()
toString in class Object