c

ml.dmlc.xgboost4j.scala

QuantileDMatrix

class QuantileDMatrix extends DMatrix

线性超类
DMatrix, AnyRef, Any
已知子类
排序
  1. 按字母顺序
  2. 按继承顺序
继承的
  1. QuantileDMatrix
  2. DMatrix
  3. AnyRef
  4. Any
  1. 隐藏全部
  2. 显示全部
可见性
  1. 公共
  2. 全部

实例构造函数

  1. 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

    并行度

    抛出的异常
  2. new QuantileDMatrix(iter: Iterator[ColumnBatch], missing: Float, maxBin: Int, nthread: Int)

    根据数组接口从迭代器创建 QuantileDMatrix

    根据数组接口从迭代器创建 QuantileDMatrix

    iter

    提供相应数组接口的 XGBoost ColumnBatch 批次

    missing

    缺失值

    maxBin

    最大分箱数

    nthread

    并行度

    抛出的异常

值成员

  1. final def !=(arg0: Any): Boolean
    定义类
    AnyRef → Any
  2. final def ##(): Int
    定义类
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    定义类
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    定义类
    Any
  5. def clone(): AnyRef
    属性
    protected[lang]
    定义类
    AnyRef
    注解
    @throws( ... ) @native()
  6. def delete(): Unit
    定义类
    DMatrix
  7. final def eq(arg0: AnyRef): Boolean
    定义类
    AnyRef
  8. def equals(arg0: Any): Boolean
    定义类
    AnyRef → Any
  9. def finalize(): Unit
    属性
    protected[lang]
    定义类
    AnyRef
    注解
    @throws( classOf[java.lang.Throwable] )
  10. def getBaseMargin: Array[Float]
    定义类
    DMatrix
    注解
    @throws( ... )
  11. final def getClass(): Class[_]
    定义类
    AnyRef → Any
    注解
    @native()
  12. def getFeatureNames: Array[String]
    定义类
    DMatrix
    注解
    @throws( ... )
  13. def getFeatureTypes: Array[String]
    定义类
    DMatrix
    注解
    @throws( ... )
  14. def getGroup(): Array[Int]
    定义类
    DMatrix
    注解
    @throws( ... )
  15. def getHandle: Long
    定义类
    DMatrix
  16. def getLabel: Array[Float]
    定义类
    DMatrix
    注解
    @throws( ... )
  17. def getWeight: Array[Float]
    定义类
    DMatrix
    注解
    @throws( ... )
  18. def hashCode(): Int
    定义类
    AnyRef → Any
    注解
    @native()
  19. final def isInstanceOf[T0]: Boolean
    定义类
    Any
  20. final def ne(arg0: AnyRef): Boolean
    定义类
    AnyRef
  21. def nonMissingNum: Long
    定义类
    DMatrix
    注解
    @throws( ... )
  22. final def notify(): Unit
    定义类
    AnyRef
    注解
    @native()
  23. final def notifyAll(): Unit
    定义类
    AnyRef
    注解
    @native()
  24. def rowNum: Long
    定义类
    DMatrix
    注解
    @throws( ... )
  25. def saveBinary(filePath: String): Unit
    定义类
    DMatrix
  26. def setBaseMargin(column: Column): Unit

    根据列数组接口设置 DMatrix 的基本边距

    根据列数组接口设置 DMatrix 的基本边距

    定义类
    QuantileDMatrix → DMatrix
    注解
    @throws( classOf[XGBoostError] )
  27. def setBaseMargin(baseMargin: Array[Array[Float]]): Unit

    如果指定,xgboost 将从此初始边距开始,可用于指定要从中提升的初始预测

    如果指定,xgboost 将从此初始边距开始,可用于指定要从中提升的初始预测

    baseMargin

    基本边距

    定义类
    QuantileDMatrix → DMatrix
    注解
    @throws( classOf[XGBoostError] )
  28. def setBaseMargin(baseMargin: Array[Float]): Unit

    如果指定,xgboost 将从此初始边距开始,可用于指定要从中提升的初始预测

    如果指定,xgboost 将从此初始边距开始,可用于指定要从中提升的初始预测

    baseMargin

    基本边距

    定义类
    QuantileDMatrix → DMatrix
    注解
    @throws( classOf[XGBoostError] )
  29. def setFeatureNames(values: Array[String]): Unit
    定义类
    DMatrix
    注解
    @throws( ... )
  30. def setFeatureTypes(values: Array[String]): Unit
    定义类
    DMatrix
    注解
    @throws( ... )
  31. def setGroup(group: Array[Int]): Unit

    设置 DMatrix 的组大小(用于排序)

    设置 DMatrix 的组大小(用于排序)

    group

    组大小数组

    定义类
    QuantileDMatrix → DMatrix
    注解
    @throws( classOf[XGBoostError] )
  32. def setLabel(column: Column): Unit

    根据数组接口设置 DMatrix 的标签

    根据数组接口设置 DMatrix 的标签

    定义类
    QuantileDMatrix → DMatrix
    注解
    @throws( classOf[XGBoostError] )
  33. def setLabel(labels: Array[Float]): Unit

    设置 dmatrix 的标签

    设置 dmatrix 的标签

    labels

    labels

    定义类
    QuantileDMatrix → DMatrix
    注解
    @throws( classOf[XGBoostError] )
  34. def setQueryId(column: Column): Unit
    定义类
    QuantileDMatrix → DMatrix
    注解
    @throws( classOf[XGBoostError] )
  35. def setQueryId(qid: Array[Int]): Unit
    定义类
    DMatrix
    注解
    @throws( ... )
  36. def setWeight(column: Column): Unit

    根据列数组接口设置 dmatrix 的权重

    根据列数组接口设置 dmatrix 的权重

    定义类
    QuantileDMatrix → DMatrix
    注解
    @throws( classOf[XGBoostError] )
  37. def setWeight(weights: Array[Float]): Unit

    设置每个实例的权重

    设置每个实例的权重

    weights

    weights

    定义类
    QuantileDMatrix → DMatrix
    注解
    @throws( classOf[XGBoostError] )
  38. def slice(rowIndex: Array[Int]): DMatrix
    定义类
    DMatrix
    注解
    @throws( ... )
  39. final def synchronized[T0](arg0: ⇒ T0): T0
    定义类
    AnyRef
  40. def toString(): String
    定义类
    AnyRef → Any
  41. final def wait(): Unit
    定义类
    AnyRef
    注解
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit
    定义类
    AnyRef
    注解
    @throws( ... )
  43. final def wait(arg0: Long): Unit
    定义类
    AnyRef
    注解
    @throws( ... ) @native()

继承自 DMatrix

继承自 AnyRef

继承自 Any

未分组