Packages

c

ml.dmlc.xgboost4j.scala

QuantileDMatrix

class QuantileDMatrix extends DMatrix

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

Instance Constructors

  1. new QuantileDMatrix(iter: Iterator[ColumnBatch], missing: Float, maxBin: Int, nthread: Int)

    Create QuantileDMatrix from iterator based on the cuda array interface

    Create QuantileDMatrix from iterator based on the cuda array interface

    iter

    the XGBoost ColumnBatch batch to provide the corresponding cuda array interface

    missing

    the missing value

    maxBin

    the max bin

    nthread

    the parallelism

    Exceptions thrown

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 clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. def delete(): Unit
    Definition Classes
    DMatrix
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def getBaseMargin: Array[Float]

    get base margin of the DMatrix

    get base margin of the DMatrix

    returns

    base margin

    Definition Classes
    DMatrix
    Annotations
    @throws( classOf[XGBoostError] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def getFeatureNames: Array[String]

    get feature names

    get feature names

    Definition Classes
    DMatrix
    Annotations
    @throws( classOf[XGBoostError] )
    Exceptions thrown
  13. def getFeatureTypes: Array[String]

    get feature types

    get feature types

    Definition Classes
    DMatrix
    Annotations
    @throws( classOf[XGBoostError] )
    Exceptions thrown
  14. def getGroup(): Array[Int]

    Get group sizes of DMatrix (used for ranking)

    Get group sizes of DMatrix (used for ranking)

    Definition Classes
    DMatrix
    Annotations
    @throws( classOf[XGBoostError] )
  15. def getHandle: Long
    Definition Classes
    DMatrix
  16. def getLabel: Array[Float]

    get label values

    get label values

    returns

    label

    Definition Classes
    DMatrix
    Annotations
    @throws( classOf[XGBoostError] )
  17. def getWeight: Array[Float]

    get weight of the DMatrix

    get weight of the DMatrix

    returns

    weights

    Definition Classes
    DMatrix
    Annotations
    @throws( classOf[XGBoostError] )
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def nonMissingNum: Long

    Get the number of non-missing values of DMatrix.

    Get the number of non-missing values of DMatrix.

    returns

    The number of non-missing values

    Definition Classes
    DMatrix
    Annotations
    @throws( classOf[XGBoostError] )
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def rowNum: Long

    get the row number of DMatrix

    get the row number of DMatrix

    returns

    number of rows

    Definition Classes
    DMatrix
    Annotations
    @throws( classOf[XGBoostError] )
  25. def saveBinary(filePath: String): Unit

    save DMatrix to filePath

    save DMatrix to filePath

    filePath

    file path

    Definition Classes
    DMatrix
  26. def setBaseMargin(column: Column): Unit

    set base margin of dmatrix from column array interface

    set base margin of dmatrix from column array interface

    Definition Classes
    QuantileDMatrixDMatrix
    Annotations
    @throws( classOf[XGBoostError] )
  27. def setBaseMargin(baseMargin: Array[Array[Float]]): Unit

    if specified, xgboost will start from this init margin can be used to specify initial prediction to boost from

    if specified, xgboost will start from this init margin can be used to specify initial prediction to boost from

    baseMargin

    base margin

    Definition Classes
    QuantileDMatrixDMatrix
    Annotations
    @throws( classOf[XGBoostError] )
  28. def setBaseMargin(baseMargin: Array[Float]): Unit

    if specified, xgboost will start from this init margin can be used to specify initial prediction to boost from

    if specified, xgboost will start from this init margin can be used to specify initial prediction to boost from

    baseMargin

    base margin

    Definition Classes
    QuantileDMatrixDMatrix
    Annotations
    @throws( classOf[XGBoostError] )
  29. def setFeatureNames(values: Array[String]): Unit

    set feature names

    set feature names

    values

    feature names

    Definition Classes
    DMatrix
    Annotations
    @throws( classOf[XGBoostError] )
    Exceptions thrown
  30. def setFeatureTypes(values: Array[String]): Unit

    set feature types

    set feature types

    values

    feature types

    Definition Classes
    DMatrix
    Annotations
    @throws( classOf[XGBoostError] )
    Exceptions thrown
  31. def setGroup(group: Array[Int]): Unit

    Set group sizes of DMatrix (used for ranking)

    Set group sizes of DMatrix (used for ranking)

    group

    group size as array

    Definition Classes
    QuantileDMatrixDMatrix
    Annotations
    @throws( classOf[XGBoostError] )
  32. def setLabel(column: Column): Unit

    Set label of DMatrix from cuda array interface

    Set label of DMatrix from cuda array interface

    Definition Classes
    QuantileDMatrixDMatrix
    Annotations
    @throws( classOf[XGBoostError] )
  33. def setLabel(labels: Array[Float]): Unit

    set label of dmatrix

    set label of dmatrix

    labels

    labels

    Definition Classes
    QuantileDMatrixDMatrix
    Annotations
    @throws( classOf[XGBoostError] )
  34. def setWeight(column: Column): Unit

    set weight of dmatrix from column array interface

    set weight of dmatrix from column array interface

    Definition Classes
    QuantileDMatrixDMatrix
    Annotations
    @throws( classOf[XGBoostError] )
  35. def setWeight(weights: Array[Float]): Unit

    set weight of each instance

    set weight of each instance

    weights

    weights

    Definition Classes
    QuantileDMatrixDMatrix
    Annotations
    @throws( classOf[XGBoostError] )
  36. def slice(rowIndex: Array[Int]): DMatrix

    Slice the DMatrix and return a new DMatrix that only contains rowIndex.

    Slice the DMatrix and return a new DMatrix that only contains rowIndex.

    rowIndex

    row index

    returns

    sliced new DMatrix

    Definition Classes
    DMatrix
    Annotations
    @throws( classOf[XGBoostError] )
  37. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  38. def toString(): String
    Definition Classes
    AnyRef → Any
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from DMatrix

Inherited from AnyRef

Inherited from Any

Ungrouped