class QuantileDMatrix extends DMatrix
QuantileDMatrix will only be used to train
- Alphabetic
- By Inheritance
- QuantileDMatrix
- DMatrix
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new QuantileDMatrix(iter: Iterator[ColumnBatch], missing: Float, maxBin: Int, nthread: Int)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def dispose(): Unit
- Definition Classes
- DMatrix
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- def getBaseMargin(): Array[Float]
Get base margin of the DMatrix.
Get base margin of the DMatrix.
- Definition Classes
- DMatrix
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getFeatureNames(): Array[String]
Get feature names
Get feature names
- returns
an array of feature names to be returned
- Definition Classes
- DMatrix
- Exceptions thrown
- def getFeatureTypes(): Array[String]
Get feature types
Get feature types
- returns
an array of feature types to be returned
- Definition Classes
- DMatrix
- Exceptions thrown
- def getGroup(): Array[Int]
Get group sizes of DMatrix
Get group sizes of DMatrix
- returns
group size as array
- Definition Classes
- DMatrix
- Exceptions thrown
XGBoostError
native error
- def getHandle(): Long
Get the handle
Get the handle
- Definition Classes
- DMatrix
- def getLabel(): Array[Float]
get label values
- def getWeight(): Array[Float]
get weight of the DMatrix
get weight of the DMatrix
- returns
weights
- Definition Classes
- DMatrix
- Exceptions thrown
XGBoostError
native error
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- 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
- Exceptions thrown
XGBoostError
native error
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def rowNum(): Long
get the row number of DMatrix
get the row number of DMatrix
- returns
number of rows
- Definition Classes
- DMatrix
- Exceptions thrown
XGBoostError
native error
- def saveBinary(filePath: String): Unit
save DMatrix to filePath
save DMatrix to filePath
- Definition Classes
- DMatrix
- def setBaseMargin(baseMargin: Array[Array[Float]]): Unit
Set base margin (initial prediction).
Set base margin (initial prediction).
- Definition Classes
- QuantileDMatrix → DMatrix
- Annotations
- @Override()
- def setBaseMargin(baseMargin: Array[Float]): Unit
Set base margin (initial prediction).
Set base margin (initial prediction).
The margin must have the same number of elements as the number of rows in this matrix.
- Definition Classes
- QuantileDMatrix → DMatrix
- Annotations
- @Override()
- def setBaseMargin(column: Column): Unit
Set base margin of DMatrix from cuda array interface
Set base margin of DMatrix from cuda array interface
- column
the XGBoost Column to provide the cuda array interface of base margin column
- Definition Classes
- QuantileDMatrix → DMatrix
- Annotations
- @Override()
- Exceptions thrown
XGBoostError
native error
- def setFeatureNames(values: Array[String]): Unit
Set feature names
- def setFeatureTypes(values: Array[String]): Unit
Set feature types
- 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
- @Override()
- Exceptions thrown
XGBoostError
native error
- def setLabel(labels: Array[Float]): Unit
set label of dmatrix
set label of dmatrix
- labels
labels
- Definition Classes
- QuantileDMatrix → DMatrix
- Annotations
- @Override()
- Exceptions thrown
XGBoostError
native error
- def setLabel(column: Column): Unit
Set label of DMatrix from cuda array interface
Set label of DMatrix from cuda array interface
- column
the XGBoost Column to provide the cuda array interface of label column
- Definition Classes
- QuantileDMatrix → DMatrix
- Annotations
- @Override()
- Exceptions thrown
XGBoostError
native error
- def setWeight(weights: Array[Float]): Unit
set weight of each instance
set weight of each instance
- weights
weights
- Definition Classes
- QuantileDMatrix → DMatrix
- Annotations
- @Override()
- Exceptions thrown
XGBoostError
native error
- def setWeight(column: Column): Unit
Set weight of DMatrix from cuda array interface
Set weight of DMatrix from cuda array interface
- column
the XGBoost Column to provide the cuda array interface of weight column
- Definition Classes
- QuantileDMatrix → DMatrix
- Annotations
- @Override()
- Exceptions thrown
XGBoostError
native error
- 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
- Exceptions thrown
XGBoostError
native error
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])