LabeledPoint

ml.dmlc.xgboost4j.LabeledPoint
case class LabeledPoint(label: Float, size: Int, indices: Array[Int], values: Array[Float], weight: Float, group: Int, baseMargin: Float) extends Serializable

Labeled training data point.

Attributes

baseMargin

Initial prediction on this point or Float.NaN

group

Group of this point (used for ranking) or -1.

indices

Feature indices of this point or null if the data is dense.

label

Label of this point.

size

Feature dimensionality

values

Feature values of this point.

weight

Weight of this point.

Source:
LabeledPoint.scala
Graph
Supertypes
trait Product
trait Equals
trait Serializable
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Constructors

def this(label: Float, size: Int, indices: Array[Int], values: Array[Float])

Attributes

Source:
LabeledPoint.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product