public class LabeledPoint
extends Object
implements scala.Product, scala.Serializable
Constructor and Description |
---|
LabeledPoint(double label,
Vector features) |
Modifier and Type | Method and Description |
---|---|
Vector |
features() |
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
.public double label()
public Vector features()
public String toString()
toString
in class Object