Packages

c

ml.dmlc.xgboost4j.scala

QuantileDMatrix

class QuantileDMatrix extends DMatrix

Linear Supertypes
DMatrix, AnyRef, Any
Known Subclasses
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], ref: Option[QuantileDMatrix], missing: Float, maxBin: Int, nthread: Int)

    Create QuantileDMatrix from iterator based on the array interface

    Create QuantileDMatrix from iterator based on the array interface

    iter

    the XGBoost ColumnBatch batch to provide the corresponding array interface

    ref

    The reference QuantileDMatrix that provides quantile information, needed when creating validation/test dataset with QuantileDMatrix. Supplying the training DMatrix as a reference means that the same quantisation applied to the training data is applied to the validation/test data

    missing

    the missing value

    maxBin

    the max bin

    nthread

    the parallelism

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

    Create QuantileDMatrix from iterator based on the array interface

    Create QuantileDMatrix from iterator based on the array interface

    iter

    the XGBoost ColumnBatch batch to provide the corresponding 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() @IntrinsicCandidate()
  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 getBaseMargin: Array[Float]
    Definition Classes
    DMatrix
    Annotations
    @throws( ... )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  11. def getFeatureNames: Array[String]
    Definition Classes
    DMatrix
    Annotations
    @throws( ... )
  12. def getFeatureTypes: Array[String]
    Definition Classes
    DMatrix
    Annotations
    @throws( ... )
  13. def getGroup(): Array[Int]
    Definition Classes
    DMatrix
    Annotations
    @throws( ... )
  14. def getHandle: Long
    Definition Classes
    DMatrix
  15. def getLabel: Array[Float]
    Definition Classes
    DMatrix
    Annotations
    @throws( ... )
  16. def getWeight: Array[Float]
    Definition Classes
    DMatrix
    Annotations
    @throws( ... )
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def nonMissingNum: Long
    Definition Classes
    DMatrix
    Annotations
    @throws( ... )
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  23. def rowNum: Long
    Definition Classes
    DMatrix
    Annotations
    @throws( ... )
  24. def saveBinary(filePath: String): Unit
    Definition Classes
    DMatrix
  25. 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
    QuantileDMatrix → DMatrix
    Annotations
    @throws( classOf[XGBoostError] )
  26. 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
    QuantileDMatrix → DMatrix
    Annotations
    @throws( classOf[XGBoostError] )
  27. 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
    QuantileDMatrix → DMatrix
    Annotations
    @throws( classOf[XGBoostError] )
  28. def setFeatureNames(values: Array[String]): Unit
    Definition Classes
    DMatrix
    Annotations
    @throws( ... )
  29. def setFeatureTypes(values: Array[String]): Unit
    Definition Classes
    DMatrix
    Annotations
    @throws( ... )
  30. 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
    QuantileDMatrix → DMatrix
    Annotations
    @throws( classOf[XGBoostError] )
  31. def setLabel(column: Column): Unit

    Set label of DMatrix from array interface

    Set label of DMatrix from array interface

    Definition Classes
    QuantileDMatrix → DMatrix
    Annotations
    @throws( classOf[XGBoostError] )
  32. def setLabel(labels: Array[Float]): Unit

    set label of dmatrix

    set label of dmatrix

    labels

    labels

    Definition Classes
    QuantileDMatrix → DMatrix
    Annotations
    @throws( classOf[XGBoostError] )
  33. def setQueryId(column: Column): Unit
    Definition Classes
    QuantileDMatrix → DMatrix
    Annotations
    @throws( classOf[XGBoostError] )
  34. def setQueryId(qid: Array[Int]): Unit
    Definition Classes
    DMatrix
    Annotations
    @throws( ... )
  35. def setWeight(column: Column): Unit

    set weight of dmatrix from column array interface

    set weight of dmatrix from column array interface

    Definition Classes
    QuantileDMatrix → DMatrix
    Annotations
    @throws( classOf[XGBoostError] )
  36. def setWeight(weights: Array[Float]): Unit

    set weight of each instance

    set weight of each instance

    weights

    weights

    Definition Classes
    QuantileDMatrix → DMatrix
    Annotations
    @throws( classOf[XGBoostError] )
  37. def slice(rowIndex: Array[Int]): DMatrix
    Definition Classes
    DMatrix
    Annotations
    @throws( ... )
  38. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  39. def toString(): String
    Definition Classes
    AnyRef → Any
  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()
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from DMatrix

Inherited from AnyRef

Inherited from Any

Ungrouped