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 将从该初始边距开始,可用于指定要提升的初始预测
- 基线边距
基线边距
- 定义类
- QuantileDMatrix → DMatrix
- 注解
- @throws( classOf[XGBoostError] )
-
def setBaseMargin(baseMargin: Array[Float]): Unit
如果指定,xgboost 将从该初始边距开始,可用于指定要提升的初始预测
如果指定,xgboost 将从该初始边距开始,可用于指定要提升的初始预测
- 基线边距
基线边距
- 定义类
- 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()