Packages

c

ml.dmlc.xgboost4j

LabeledPoint

final class LabeledPoint extends Serializable

Labeled training data point. TODO(hcho3): Migrate Record class when we upgrade to Java 14+, to reduce boilerplate.

Linear Supertypes
Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LabeledPoint
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LabeledPoint(label: Float, size: Int, indices: Array[Int], values: Array[Float], weight: Float, group: Int)

    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.

  2. new LabeledPoint(label: Float, size: Int, indices: Array[Int], values: Array[Float], weight: Float)

    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.

  3. new LabeledPoint(label: Float, size: Int, indices: Array[Int], values: Array[Float])

    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.

  4. new LabeledPoint(label: Float, size: Int, indices: Array[Int], values: Array[Float], weight: Float, group: Int, baseMargin: Float)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def baseMargin(): Float
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(obj: Any): Boolean
    Definition Classes
    LabeledPoint → AnyRef → Any
    Annotations
    @Override()
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def group(): Int
  12. def hashCode(): Int
    Definition Classes
    LabeledPoint → AnyRef → Any
    Annotations
    @Override()
  13. def indices(): Array[Int]
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def label(): Float
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def size(): Int
  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. def values(): Array[Float]
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  26. def weight(): Float

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped