class QuantileDMatrix extends DMatrix
QuantileDMatrix will only be used to train
- Alphabetic
- By Inheritance
- QuantileDMatrix
- DMatrix
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
QuantileDMatrix(iter: Iterator[ColumnBatch], refDMatrix: QuantileDMatrix, 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
- refDMatrix
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
-
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
-
new
QuantileDMatrix()
- Attributes
- protected[java]
Type Members
-
class
QuantileCut extends AnyRef
- Definition Classes
- DMatrix
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( ... ) @native() @IntrinsicCandidate()
-
def
dispose(): Unit
- Definition Classes
- DMatrix
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java]
- Definition Classes
- DMatrix → AnyRef
-
def
getBaseMargin(): Array[Float]
- Definition Classes
- DMatrix
- Annotations
- @throws( ... )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
getFeatureNames(): Array[String]
- Definition Classes
- DMatrix
- Annotations
- @throws( ... )
-
def
getFeatureTypes(): Array[String]
- Definition Classes
- DMatrix
- Annotations
- @throws( ... )
-
def
getGroup(): Array[Int]
- Definition Classes
- DMatrix
- Annotations
- @throws( ... )
-
def
getHandle(): Long
- Definition Classes
- DMatrix
-
def
getLabel(): Array[Float]
- Definition Classes
- DMatrix
- Annotations
- @throws( ... )
-
def
getQuantileCut(): QuantileCut
- Definition Classes
- DMatrix
- Annotations
- @throws( ... )
-
def
getWeight(): Array[Float]
- Definition Classes
- DMatrix
- Annotations
- @throws( ... )
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
nonMissingNum(): Long
- Definition Classes
- DMatrix
- Annotations
- @throws( ... )
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
def
rowNum(): Long
- Definition Classes
- DMatrix
- Annotations
- @throws( ... )
-
def
saveBinary(arg0: String): Unit
- Definition Classes
- DMatrix
-
def
setBaseMargin(baseMargin: Array[Array[Float]]): Unit
- Definition Classes
- QuantileDMatrix → DMatrix
- Annotations
- @Override()
-
def
setBaseMargin(baseMargin: Array[Float]): Unit
- Definition Classes
- QuantileDMatrix → DMatrix
- Annotations
- @Override()
-
def
setBaseMargin(column: Column): Unit
- Definition Classes
- QuantileDMatrix → DMatrix
- Annotations
- @Override()
-
def
setFeatureNames(arg0: Array[String]): Unit
- Definition Classes
- DMatrix
- Annotations
- @throws( ... )
-
def
setFeatureTypes(arg0: Array[String]): Unit
- Definition Classes
- DMatrix
- Annotations
- @throws( ... )
-
def
setGroup(group: Array[Int]): Unit
- Definition Classes
- QuantileDMatrix → DMatrix
- Annotations
- @Override()
-
def
setLabel(labels: Array[Float]): Unit
- Definition Classes
- QuantileDMatrix → DMatrix
- Annotations
- @Override()
-
def
setLabel(column: Column): Unit
- Definition Classes
- QuantileDMatrix → DMatrix
- Annotations
- @Override()
-
def
setQueryId(arg0: Array[Int]): Unit
- Definition Classes
- DMatrix
- Annotations
- @throws( ... )
-
def
setQueryId(arg0: Column): Unit
- Definition Classes
- DMatrix
- Annotations
- @throws( ... )
-
def
setWeight(weights: Array[Float]): Unit
- Definition Classes
- QuantileDMatrix → DMatrix
- Annotations
- @Override()
-
def
setWeight(column: Column): Unit
- Definition Classes
- QuantileDMatrix → DMatrix
- Annotations
- @Override()
-
def
slice(arg0: Array[Int]): DMatrix
- Definition Classes
- DMatrix
- Annotations
- @throws( ... )
-
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( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )