package xgboost4j
Type Members
-
case class
LabeledPoint(label: Float, size: Int, indices: Array[Int], values: Array[Float], weight: Float = 1f, group: Int = -1, baseMargin: Float = Float.NaN) extends Serializable with Product
Labeled training data point.
Labeled training data point.
- label
Label of this point.
- size
Feature dimensionality
- indices
Feature indices of this point or
null
if the data is dense.- values
Feature values of this point.
- weight
Weight of this point.
- group
Group of this point (used for ranking) or -1.
- baseMargin
Initial prediction on this point or
Float.NaN