class QuantileDMatrix extends DMatrix
线性超类
已知子类
排序
- 按字母顺序
- 按继承顺序
继承的
- QuantileDMatrix
- DMatrix
- AnyRef
- Any
- 隐藏全部
- 显示全部
可见性
- 公共
- 全部
实例构造函数
-
new QuantileDMatrix(iter: Iterator[ColumnBatch], ref: Option[QuantileDMatrix], missing: Float, maxBin: Int, nthread: Int)
根据数组接口从迭代器创建 QuantileDMatrix
根据数组接口从迭代器创建 QuantileDMatrix
- iter
提供相应数组接口的 XGBoost ColumnBatch 批次
- ref
提供分位数信息的参考 QuantileDMatrix,在使用 QuantileDMatrix 创建验证/测试数据集时需要。将训练 DMatrix 作为参考意味着对训练数据应用的相同量化也应用于验证/测试数据
- missing
缺失值
- maxBin
最大分箱数
- nthread
并行度
- 抛出的异常
-
new QuantileDMatrix(iter: Iterator[ColumnBatch], missing: Float, maxBin: Int, nthread: Int)
根据数组接口从迭代器创建 QuantileDMatrix
根据数组接口从迭代器创建 QuantileDMatrix
- iter
提供相应数组接口的 XGBoost ColumnBatch 批次
- missing
缺失值
- maxBin
最大分箱数
- nthread
并行度
- 抛出的异常
值成员
-
final def !=(arg0: Any): Boolean
- 定义类
- AnyRef → Any
-
final def ##(): Int
- 定义类
- AnyRef → Any
-
final def ==(arg0: Any): Boolean
- 定义类
- AnyRef → Any
-
final def asInstanceOf[T0]: T0
- 定义类
- Any
-
def clone(): AnyRef
- 属性
- protected[lang]
- 定义类
- AnyRef
- 注解
- @throws( ... ) @native()
-
def delete(): Unit
- 定义类
- DMatrix
-
final def eq(arg0: AnyRef): Boolean
- 定义类
- AnyRef
-
def equals(arg0: Any): Boolean
- 定义类
- AnyRef → Any
-
def finalize(): Unit
- 属性
- protected[lang]
- 定义类
- AnyRef
- 注解
- @throws( classOf[java.lang.Throwable] )
-
def getBaseMargin: Array[Float]
- 定义类
- DMatrix
- 注解
- @throws( ... )
-
final def getClass(): Class[_]
- 定义类
- AnyRef → Any
- 注解
- @native()
-
def getFeatureNames: Array[String]
- 定义类
- DMatrix
- 注解
- @throws( ... )
-
def getFeatureTypes: Array[String]
- 定义类
- DMatrix
- 注解
- @throws( ... )
-
def getGroup(): Array[Int]
- 定义类
- DMatrix
- 注解
- @throws( ... )
-
def getHandle: Long
- 定义类
- DMatrix
-
def getLabel: Array[Float]
- 定义类
- DMatrix
- 注解
- @throws( ... )
-
def getWeight: Array[Float]
- 定义类
- DMatrix
- 注解
- @throws( ... )
-
def hashCode(): Int
- 定义类
- AnyRef → Any
- 注解
- @native()
-
final def isInstanceOf[T0]: Boolean
- 定义类
- Any
-
final def ne(arg0: AnyRef): Boolean
- 定义类
- AnyRef
-
def nonMissingNum: Long
- 定义类
- DMatrix
- 注解
- @throws( ... )
-
final def notify(): Unit
- 定义类
- AnyRef
- 注解
- @native()
-
final def notifyAll(): Unit
- 定义类
- AnyRef
- 注解
- @native()
-
def rowNum: Long
- 定义类
- DMatrix
- 注解
- @throws( ... )
-
def saveBinary(filePath: String): Unit
- 定义类
- DMatrix
-
def setBaseMargin(column: Column): Unit
根据列数组接口设置 DMatrix 的基本边距
根据列数组接口设置 DMatrix 的基本边距
- 定义类
- QuantileDMatrix → DMatrix
- 注解
- @throws( classOf[XGBoostError] )
-
def setBaseMargin(baseMargin: Array[Array[Float]]): Unit
如果指定,xgboost 将从此初始边距开始,可用于指定要从中提升的初始预测
如果指定,xgboost 将从此初始边距开始,可用于指定要从中提升的初始预测
- baseMargin
基本边距
- 定义类
- QuantileDMatrix → DMatrix
- 注解
- @throws( classOf[XGBoostError] )
-
def setBaseMargin(baseMargin: Array[Float]): Unit
如果指定,xgboost 将从此初始边距开始,可用于指定要从中提升的初始预测
如果指定,xgboost 将从此初始边距开始,可用于指定要从中提升的初始预测
- baseMargin
基本边距
- 定义类
- QuantileDMatrix → DMatrix
- 注解
- @throws( classOf[XGBoostError] )
-
def setFeatureNames(values: Array[String]): Unit
- 定义类
- DMatrix
- 注解
- @throws( ... )
-
def setFeatureTypes(values: Array[String]): Unit
- 定义类
- DMatrix
- 注解
- @throws( ... )
-
def setGroup(group: Array[Int]): Unit
设置 DMatrix 的组大小(用于排序)
-
def setLabel(column: Column): Unit
根据数组接口设置 DMatrix 的标签
根据数组接口设置 DMatrix 的标签
- 定义类
- QuantileDMatrix → DMatrix
- 注解
- @throws( classOf[XGBoostError] )
-
def setLabel(labels: Array[Float]): Unit
设置 dmatrix 的标签
-
def setQueryId(column: Column): Unit
- 定义类
- QuantileDMatrix → DMatrix
- 注解
- @throws( classOf[XGBoostError] )
-
def setQueryId(qid: Array[Int]): Unit
- 定义类
- DMatrix
- 注解
- @throws( ... )
-
def setWeight(column: Column): Unit
根据列数组接口设置 dmatrix 的权重
根据列数组接口设置 dmatrix 的权重
- 定义类
- QuantileDMatrix → DMatrix
- 注解
- @throws( classOf[XGBoostError] )
-
def setWeight(weights: Array[Float]): Unit
设置每个实例的权重
-
def slice(rowIndex: Array[Int]): DMatrix
- 定义类
- DMatrix
- 注解
- @throws( ... )
-
final def synchronized[T0](arg0: ⇒ T0): T0
- 定义类
- AnyRef
-
def toString(): String
- 定义类
- AnyRef → Any
-
final def wait(): Unit
- 定义类
- AnyRef
- 注解
- @throws( ... )
-
final def wait(arg0: Long, arg1: Int): Unit
- 定义类
- AnyRef
- 注解
- @throws( ... )
-
final def wait(arg0: Long): Unit
- 定义类
- AnyRef
- 注解
- @throws( ... ) @native()