XGBoostClassifier 继承自 ProbabilisticClassifier[Vector, XGBoostClassifier, XGBoostClassificationModel] 混入 XGBoostEstimator[XGBoostClassifier, XGBoostClassificationModel] 混入 XGBProbabilisticClassifierParams[XGBoostClassifier]

线性超类型
XGBProbabilisticClassifierParams[XGBoostClassifier], XGBoostEstimator[XGBoostClassifier, XGBoostClassificationModel], DefaultParamsWritable, MLWritable, ParamMapConversion, NonParamVariables[XGBoostClassifier, XGBoostClassificationModel], ParamUtils[XGBoostClassifier], SparkParams[XGBoostClassifier], SchemaValidationTrait, RabitParams, NonXGBoostParams, HasContribPredictionCol, HasLeafPredictionCol, HasWeightCol, HasBaseMarginCol, HasFeaturesCols, XGBoostParams[XGBoostClassifier], DartBoosterParams, GeneralParams, LearningTaskParams, TreeBoosterParams, ProbabilisticClassifier[Vector, XGBoostClassifier, XGBoostClassificationModel], ProbabilisticClassifierParams, HasThresholds, HasProbabilityCol, Classifier[Vector, XGBoostClassifier, XGBoostClassificationModel], ClassifierParams, HasRawPredictionCol, Predictor[Vector, XGBoostClassifier, XGBoostClassificationModel], PredictorParams, HasPredictionCol, HasFeaturesCol, HasLabelCol, Estimator[XGBoostClassificationModel], PipelineStage, Logging, Params, Serializable, Serializable, Identifiable, AnyRef, Any
排序
  1. 按字母顺序
  2. 按继承关系
继承的
  1. XGBoostClassifier
  2. XGBProbabilisticClassifierParams
  3. XGBoostEstimator
  4. DefaultParamsWritable
  5. MLWritable
  6. ParamMapConversion
  7. NonParamVariables
  8. ParamUtils
  9. SparkParams
  10. SchemaValidationTrait
  11. RabitParams
  12. NonXGBoostParams
  13. HasContribPredictionCol
  14. HasLeafPredictionCol
  15. HasWeightCol
  16. HasBaseMarginCol
  17. HasFeaturesCols
  18. XGBoostParams
  19. DartBoosterParams
  20. GeneralParams
  21. LearningTaskParams
  22. TreeBoosterParams
  23. ProbabilisticClassifier
  24. ProbabilisticClassifierParams
  25. HasThresholds
  26. HasProbabilityCol
  27. Classifier
  28. ClassifierParams
  29. HasRawPredictionCol
  30. Predictor
  31. PredictorParams
  32. HasPredictionCol
  33. HasFeaturesCol
  34. HasLabelCol
  35. Estimator
  36. PipelineStage
  37. Logging
  38. Params
  39. Serializable
  40. Serializable
  41. Identifiable
  42. AnyRef
  43. Any
  1. 隐藏全部
  2. 显示全部
可见性
  1. 公开
  2. 全部

实例构造器

  1. new XGBoostClassifier(xgboostParams: Map[String, Any])
  2. new XGBoostClassifier(uid: String)
  3. new XGBoostClassifier()
  4. new XGBoostClassifier(uid: String, xgboostParams: Map[String, Any])

值成员

  1. final def !=(arg0: Any): Boolean
    定义类
    AnyRef → Any
  2. final def ##(): Int
    定义类
    AnyRef → Any
  3. final def $[T](param: Param[T]): T
    属性
    protected
    定义类
    Params
  4. final def ==(arg0: Any): Boolean
    定义类
    AnyRef → Any
  5. def addNonXGBoostParam(ps: Param[_]*): Unit
    属性
    protected
    定义类
    NonXGBoostParams
  6. final val aftLossDistribution: Param[String]
    定义类
    LearningTaskParams
  7. final val alpha: DoubleParam
    定义类
    TreeBoosterParams
  8. final def asInstanceOf[T0]: T0
    定义类
    Any
  9. final val baseMarginCol: Param[String]

    用于初始预测(即基准边距)列的参数。

    用于初始预测(即基准边距)列的参数。

    定义类
    HasBaseMarginCol
  10. final val baseScore: DoubleParam
    定义类
    LearningTaskParams
  11. final val booster: Param[String]
    定义类
    GeneralParams
  12. final def clear(param: Param[_]): XGBoostClassifier.this.type
    定义类
    Params
  13. def clone(): AnyRef
    属性
    受保护的[lang]
    定义类
    AnyRef
    注解
    @throws( ... ) @native()
  14. final val colsampleBylevel: DoubleParam
    定义类
    TreeBoosterParams
  15. final val colsampleBynode: DoubleParam
    定义类
    TreeBoosterParams
  16. final val colsampleBytree: DoubleParam
    定义类
    TreeBoosterParams
  17. final val contribPredictionCol: Param[String]

    用于贡献预测列的参数。

    用于贡献预测列的参数。

    定义类
    HasContribPredictionCol
  18. def copy(extra: ParamMap): XGBoostClassifier
    定义类
    XGBoostEstimator → Estimator → PipelineStage → Params
  19. def copyValues[T <: Params](to: T, extra: ParamMap): T
    属性
    protected
    定义类
    Params
  20. def createModel(booster: Booster, summary: XGBoostTrainingSummary): XGBoostClassificationModel
    属性
    protected
    定义类
    XGBoostClassifier → XGBoostEstimator
  21. final val customEval: CustomEvalParam
    定义类
    SparkParams
  22. final val customObj: CustomObjParam
    定义类
    SparkParams
  23. final def defaultCopy[T <: Params](extra: ParamMap): T
    属性
    protected
    定义类
    Params
  24. final val device: Param[String]
    定义类
    GeneralParams
  25. final def eq(arg0: AnyRef): Boolean
    定义类
    AnyRef
  26. def equals(arg0: Any): Boolean
    定义类
    AnyRef → Any
  27. final val eta: DoubleParam
    定义类
    TreeBoosterParams
  28. final val evalMetric: Param[String]
    定义类
    LearningTaskParams
  29. def explainParam(param: Param[_]): String
    定义类
    Params
  30. def explainParams(): String
    定义类
    Params
  31. final def extractParamMap(): ParamMap
    定义类
    Params
  32. final def extractParamMap(extra: ParamMap): ParamMap
    定义类
    Params
  33. def featureIsArrayType(schema: StructType): Boolean
    属性
    受保护的[spark]
    定义类
    SparkParams
  34. final val featureNames: StringArrayParam

    特征名,它将被设置为 DMatrix 和 Booster,并在最终的本地 JSON 模型中。

    特征名,它将被设置为 DMatrix 和 Booster,并在最终的本地 JSON 模型中。在原生代码中,参数名为 feature_name。

    定义类
    SparkParams
  35. final val featureTypes: StringArrayParam

    特征类型,q 代表数值,c 代表类别。

    特征类型,q 代表数值,c 代表类别。在原生代码中,参数名为 feature_type

    定义类
    SparkParams
  36. final val featuresCol: Param[String]
    定义类
    HasFeaturesCol
  37. final val featuresCols: StringArrayParam

    用于特征列名的参数。

    用于特征列名的参数。

    定义类
    HasFeaturesCols
  38. def finalize(): Unit
    属性
    受保护的[lang]
    定义类
    AnyRef
    注解
    @throws( classOf[java.lang.Throwable] )
  39. def fit(dataset: Dataset[_]): XGBoostClassificationModel
    定义类
    Predictor → Estimator
  40. def fit(dataset: Dataset[_], paramMaps: Seq[ParamMap]): Seq[XGBoostClassificationModel]
    定义类
    Estimator
    注解
    @Since( "2.0.0" )
  41. def fit(dataset: Dataset[_], paramMap: ParamMap): XGBoostClassificationModel
    定义类
    Estimator
    注解
    @Since( "2.0.0" )
  42. def fit(dataset: Dataset[_], firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): XGBoostClassificationModel
    定义类
    Estimator
    注解
    @Since( "2.0.0" ) @varargs()
  43. final val forceRepartition: BooleanParam
    定义类
    SparkParams
  44. final val gamma: DoubleParam
    定义类
    TreeBoosterParams
  45. final def get[T](param: Param[T]): Option[T]
    定义类
    Params
  46. final def getAftLossDistribution: String
    定义类
    LearningTaskParams
  47. final def getAlpha: Double
    定义类
    TreeBoosterParams
  48. final def getBaseMarginCol: String

  49. final def getBaseScore: Double
    定义类
    LearningTaskParams
  50. final def getBooster: String
    定义类
    GeneralParams
  51. final def getClass(): Class[_]
    定义类
    AnyRef → Any
    注解
    @native()
  52. final def getColsampleBylevel: Double
    定义类
    TreeBoosterParams
  53. final def getColsampleBynode: Double
    定义类
    TreeBoosterParams
  54. final def getColsampleBytree: Double
    定义类
    TreeBoosterParams
  55. final def getContribPredictionCol: String

  56. final def getCustomEval: EvalTrait
    定义类
    SparkParams
  57. final def getCustomObj: ObjectiveTrait
    定义类
    SparkParams
  58. final def getDefault[T](param: Param[T]): Option[T]
    定义类
    Params
  59. final def getDevice: String
    定义类
    GeneralParams
  60. final def getEta: Double
    定义类
    TreeBoosterParams
  61. def getEvalDataset(): Option[Dataset[_]]
    定义类
    NonParamVariables
  62. final def getEvalMetric: String
    定义类
    LearningTaskParams
  63. final def getFeatureNames: Array[String]
    定义类
    SparkParams
  64. final def getFeatureTypes: Array[String]
    定义类
    SparkParams
  65. final def getFeaturesCol: String
    定义类
    HasFeaturesCol
  66. final def getFeaturesCols: Array[String]

    定义类
    HasFeaturesCols
  67. final def getForceRepartition: Boolean
    定义类
    SparkParams
  68. final def getGamma: Double
    定义类
    TreeBoosterParams
  69. final def getGrowPolicy: String
    定义类
    TreeBoosterParams
  70. final def getHuberSlope: Double
    定义类
    LearningTaskParams
  71. final def getInferBatchSize: Int

    定义类
    SparkParams
  72. final def getInteractionConstraints: String
    定义类
    TreeBoosterParams
  73. final def getLabelCol: String
    定义类
    HasLabelCol
  74. final def getLambda: Double
    定义类
    TreeBoosterParams
  75. final def getLambdarankBiasNorm: Double
    定义类
    LearningTaskParams
  76. final def getLambdarankNumPairPerSample: Int
    定义类
    LearningTaskParams
  77. final def getLambdarankPairMethod: String
    定义类
    LearningTaskParams
  78. final def getLambdarankUnbiased: Boolean
    定义类
    LearningTaskParams
  79. final def getLeafPredictionCol: String

  80. final def getMaxBins: Int
    定义类
    TreeBoosterParams
  81. final def getMaxCachedHistNode: Int
    定义类
    TreeBoosterParams
  82. final def getMaxDeltaStep: Double
    定义类
    TreeBoosterParams
  83. final def getMaxDepth: Int
    定义类
    TreeBoosterParams
  84. final def getMaxLeaves: Int
    定义类
    TreeBoosterParams
  85. final def getMaxNumDevicePages: Int
    定义类
    SparkParams
  86. final def getMaxQuantileBatches: Int
    定义类
    SparkParams
  87. final def getMinCachePageBytes: Int
    定义类
    SparkParams
  88. final def getMinChildWeight: Double
    定义类
    TreeBoosterParams
  89. final def getMissing: Float
    定义类
    SparkParams
  90. final def getMonotoneConstraints: Array[Int]
    定义类
    TreeBoosterParams
  91. final def getNdcgExpGain: Boolean
    定义类
    LearningTaskParams
  92. final def getNormalizeType: String
    定义类
    DartBoosterParams
  93. final def getNthread: Int
    定义类
    GeneralParams
  94. final def getNumClass: Int
    定义类
    LearningTaskParams
  95. def getNumClasses(dataset: Dataset[_], maxNumClasses: Int): Int
    属性
    protected
    定义类
    Classifier
  96. final def getNumEarlyStoppingRounds: Int
    定义类
    SparkParams
  97. final def getNumParallelTree: Int
    定义类
    TreeBoosterParams
  98. final def getNumRound: Int
    定义类
    SparkParams
  99. final def getNumWorkers: Int
    定义类
    SparkParams
  100. final def getObjective: String
    定义类
    LearningTaskParams
  101. final def getOneDrop: Boolean
    定义类
    DartBoosterParams
  102. final def getOrDefault[T](param: Param[T]): T
    定义类
    Params
  103. def getParam(paramName: String): Param[Any]
    定义类
    Params
  104. final def getPredictionCol: String
    定义类
    HasPredictionCol
  105. final def getProbabilityCol: String
    定义类
    HasProbabilityCol
  106. final def getProcessType: String
    定义类
    TreeBoosterParams
  107. final def getRabitTrackerHostIp: String
    定义类
    RabitParams
  108. final def getRabitTrackerPort: Int
    定义类
    RabitParams
  109. final def getRabitTrackerTimeout: Int
    定义类
    RabitParams
  110. final def getRateDrop: Double
    定义类
    DartBoosterParams
  111. final def getRawPredictionCol: String
    定义类
    HasRawPredictionCol
  112. final def getRefreshLeaf: Boolean
    定义类
    TreeBoosterParams
  113. final def getSampleType: String
    定义类
    DartBoosterParams
  114. final def getSamplingMethod: String
    定义类
    TreeBoosterParams
  115. final def getScalePosWeight: Double
    定义类
    TreeBoosterParams
  116. final def getSeed: Long
    定义类
    LearningTaskParams
  117. final def getSeedPerIteration: Boolean
    定义类
    LearningTaskParams
  118. final def getSkipDrop: Double
    定义类
    DartBoosterParams
  119. final def getSubsample: Double
    定义类
    TreeBoosterParams
  120. def getThresholds: Array[Double]
    定义类
    HasThresholds
  121. final def getTreeMethod: String
    定义类
    TreeBoosterParams
  122. final def getTweedieVariancePower: Double
    定义类
    LearningTaskParams
  123. final def getUpdater: String
    定义类
    TreeBoosterParams
  124. final def getUseExternalMemory: Boolean
    定义类
    SparkParams
  125. final def getValidateParameters: Boolean
    定义类
    GeneralParams
  126. final def getVerbosity: Int
    定义类
    GeneralParams
  127. final def getWeightCol: String
    定义类
    HasWeightCol
  128. def getXGBoostParams: Map[String, Any]

    将用户提供的参数转换为XGBoost参数。

    将用户提供的参数转换为XGBoost参数。

    注意,这不包含jvm特定的参数。

    定义类
    ParamMapConversion
  129. final val growPolicy: Param[String]
    定义类
    TreeBoosterParams
  130. final def hasDefault[T](param: Param[T]): Boolean
    定义类
    Params
  131. def hasParam(paramName: String): Boolean
    定义类
    Params
  132. def hashCode(): Int
    定义类
    AnyRef → Any
    注解
    @native()
  133. final val huberSlope: DoubleParam
    定义类
    LearningTaskParams
  134. final val inferBatchSize: IntParam
    定义类
    SparkParams
  135. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    属性
    protected
    定义类
    Logging
  136. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    属性
    protected
    定义类
    Logging
  137. final val interactionConstraints: Param[String]
    定义类
    TreeBoosterParams
  138. final def isDefined(param: Param[_]): Boolean
    定义类
    Params
  139. def isDefinedNonEmpty(param: Param[String]): Boolean
    定义类
    ParamUtils
  140. def isFeaturesColsValid: Boolean

    检查featuresCols是否有效

    检查featuresCols是否有效

    定义类
    HasFeaturesCols
  141. final def isInstanceOf[T0]: Boolean
    定义类
    Any
  142. final def isSet(param: Param[_]): Boolean
    定义类
    Params
  143. def isTraceEnabled(): Boolean
    属性
    protected
    定义类
    Logging
  144. final val labelCol: Param[String]
    定义类
    HasLabelCol
  145. final val lambda: DoubleParam

    权重的L2正则化项,增加此值将使模型更保守。

    权重的L2正则化项,增加此值将使模型更保守。[默认值=1]

    定义类
    TreeBoosterParams
  146. final val lambdarankBiasNorm: DoubleParam
    定义类
    LearningTaskParams
  147. final val lambdarankNumPairPerSample: IntParam
    定义类
    LearningTaskParams
  148. final val lambdarankPairMethod: Param[String]
    定义类
    LearningTaskParams
  149. final val lambdarankUnbiased: BooleanParam
    定义类
    LearningTaskParams
  150. final val leafPredictionCol: Param[String]

    叶子节点预测列的参数。

    叶子节点预测列的参数。

    定义类
    HasLeafPredictionCol
  151. def log: Logger
    属性
    protected
    定义类
    Logging
  152. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    属性
    protected
    定义类
    Logging
  153. def logDebug(msg: ⇒ String): Unit
    属性
    protected
    定义类
    Logging
  154. def logError(msg: ⇒ String, throwable: Throwable): Unit
    属性
    protected
    定义类
    Logging
  155. def logError(msg: ⇒ String): Unit
    属性
    protected
    定义类
    Logging
  156. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    属性
    protected
    定义类
    Logging
  157. def logInfo(msg: ⇒ String): Unit
    属性
    protected
    定义类
    Logging
  158. def logName: String
    属性
    protected
    定义类
    Logging
  159. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    属性
    protected
    定义类
    Logging
  160. def logTrace(msg: ⇒ String): Unit
    属性
    protected
    定义类
    Logging
  161. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    属性
    protected
    定义类
    Logging
  162. def logWarning(msg: ⇒ String): Unit
    属性
    protected
    定义类
    Logging
  163. val logger: Log
    属性
    protected
    定义类
    XGBoostEstimator
  164. final val maxBins: IntParam
    定义类
    TreeBoosterParams
  165. final val maxCachedHistNode: IntParam
    定义类
    TreeBoosterParams
  166. final val maxDeltaStep: DoubleParam
    定义类
    TreeBoosterParams
  167. final val maxDepth: IntParam
    定义类
    TreeBoosterParams
  168. final val maxLeaves: IntParam
    定义类
    TreeBoosterParams
  169. final val maxNumDevicePages: IntParam
    定义类
    SparkParams
  170. final val maxQuantileBatches: IntParam
    定义类
    SparkParams
  171. final val minCachePageBytes: IntParam
    定义类
    SparkParams
  172. final val minChildWeight: DoubleParam
    定义类
    TreeBoosterParams
  173. 被视为缺失值的值。

    被视为缺失值的值。

    默认值: Float.NaN

    定义类
    SparkParams
  174. final val monotoneConstraints: IntArrayParam
    定义类
    TreeBoosterParams
  175. final val ndcgExpGain: BooleanParam
    定义类
    LearningTaskParams
  176. final def ne(arg0: AnyRef): Boolean
    定义类
    AnyRef
  177. lazy val nonXGBoostParams: Array[String]
    属性
    protected
    定义类
    NonXGBoostParams
  178. final val normalizeType: Param[String]
    定义类
    DartBoosterParams
  179. final def notify(): Unit
    定义类
    AnyRef
    注解
    @native()
  180. final def notifyAll(): Unit
    定义类
    AnyRef
    注解
    @native()
  181. final val nthread: IntParam
    定义类
    GeneralParams
  182. final val numClass: IntParam
    定义类
    LearningTaskParams
  183. final val numEarlyStoppingRounds: IntParam
    定义类
    SparkParams
  184. final val numParallelTree: IntParam
    定义类
    TreeBoosterParams
  185. final val numRound: IntParam
    定义类
    SparkParams
  186. final val numWorkers: IntParam
    定义类
    SparkParams
  187. final val objective: Param[String]
    定义类
    LearningTaskParams
  188. final val oneDrop: BooleanParam
    定义类
    DartBoosterParams
  189. lazy val params: Array[Param[_]]
    定义类
    Params
  190. final val predictionCol: Param[String]
    定义类
    HasPredictionCol
  191. final val probabilityCol: Param[String]
    定义类
    HasProbabilityCol
  192. final val processType: Param[String]
    定义类
    TreeBoosterParams
  193. final val rabitTrackerHostIp: Param[String]
    定义类
    RabitParams
  194. final val rabitTrackerPort: IntParam
    定义类
    RabitParams
  195. final val rabitTrackerTimeout: IntParam
    定义类
    RabitParams
  196. final val rateDrop: DoubleParam
    定义类
    DartBoosterParams
  197. final val rawPredictionCol: Param[String]
    定义类
    HasRawPredictionCol
  198. final val refreshLeaf: BooleanParam
    定义类
    TreeBoosterParams
  199. final val sampleType: Param[String]
    定义类
    DartBoosterParams
  200. final val samplingMethod: Param[String]
    定义类
    TreeBoosterParams
  201. def save(path: String): Unit
    定义类
    MLWritable
    注解
    @自( "1.6.0" ) @抛出异常( 如果输入路径已存在但未启用覆盖。 )
  202. final val scalePosWeight: DoubleParam
    定义类
    TreeBoosterParams
  203. final val seed: LongParam
    定义类
    LearningTaskParams
  204. final val seedPerIteration: BooleanParam
    定义类
    LearningTaskParams
  205. final def set(paramPair: ParamPair[_]): XGBoostClassifier.this.type
    属性
    protected
    定义类
    Params
  206. final def set(param: String, value: Any): XGBoostClassifier.this.type
    属性
    protected
    定义类
    Params
  207. final def set[T](param: Param[T], value: T): XGBoostClassifier.this.type
    定义类
    Params
  208. def setAftLossDistribution(value: String): XGBoostClassifier
    定义类
    XGBoostParams
  209. def setAlpha(value: Double): XGBoostClassifier
    定义类
    XGBoostParams
  210. def setBaseMarginCol(value: String): XGBoostClassifier
    定义类
    SparkParams
  211. def setBaseScore(value: Double): XGBoostClassifier
    定义类
    XGBoostParams
  212. def setBooster(value: String): XGBoostClassifier
    定义类
    XGBoostParams
  213. def setColsampleBylevel(value: Double): XGBoostClassifier
    定义类
    XGBoostParams
  214. def setColsampleBynode(value: Double): XGBoostClassifier
    定义类
    XGBoostParams
  215. def setColsampleBytree(value: Double): XGBoostClassifier
    定义类
    XGBoostParams
  216. def setContribPredictionCol(value: String): XGBoostClassifier
    定义类
    SparkParams
  217. def setCustomEval(value: EvalTrait): XGBoostClassifier
    定义类
    SparkParams
  218. def setCustomObj(value: ObjectiveTrait): XGBoostClassifier
    定义类
    SparkParams
  219. final def setDefault(paramPairs: ParamPair[_]*): XGBoostClassifier.this.type
    属性
    protected
    定义类
    Params
  220. final def setDefault[T](param: Param[T], value: T): XGBoostClassifier.this.type
    属性
    protected[org.apache.spark.ml]
    定义类
    Params
  221. def setDevice(value: String): XGBoostClassifier
    定义类
    XGBoostParams
  222. def setEta(value: Double): XGBoostClassifier
    定义类
    XGBoostParams
  223. def setEvalDataset(ds: Dataset[_]): XGBoostClassifier
    定义类
    NonParamVariables
  224. def setEvalMetric(value: String): XGBoostClassifier
    定义类
    XGBoostParams
  225. def setFeatureNames(value: Array[String]): XGBoostClassifier
    定义类
    SparkParams
  226. def setFeatureTypes(value: Array[String]): XGBoostClassifier
    定义类
    SparkParams
  227. def setFeaturesCol(value: Array[String]): XGBoostClassifier
    定义类
    SparkParams
  228. def setFeaturesCol(value: String): XGBoostClassifier
    定义类
    Predictor
  229. def setForceRepartition(value: Boolean): XGBoostClassifier
    定义类
    SparkParams
  230. def setGamma(value: Double): XGBoostClassifier
    定义类
    XGBoostParams
  231. def setGrowPolicy(value: String): XGBoostClassifier
    定义类
    XGBoostParams
  232. def setHuberSlope(value: Double): XGBoostClassifier
    定义类
    XGBoostParams
  233. def setInferBatchSize(value: Int): XGBoostClassifier
    定义类
    SparkParams
  234. def setInteractionConstraints(value: String): XGBoostClassifier
    定义类
    XGBoostParams
  235. def setLabelCol(value: String): XGBoostClassifier
    定义类
    Predictor
  236. def setLambda(value: Double): XGBoostClassifier
    定义类
    XGBoostParams
  237. def setLambdarankBiasNorm(value: Double): XGBoostClassifier
    定义类
    XGBoostParams
  238. def setLambdarankNumPairPerSample(value: Int): XGBoostClassifier
    定义类
    XGBoostParams
  239. def setLambdarankPairMethod(value: String): XGBoostClassifier
    定义类
    XGBoostParams
  240. def setLambdarankUnbiased(value: Boolean): XGBoostClassifier
    定义类
    XGBoostParams
  241. def setLeafPredictionCol(value: String): XGBoostClassifier
    定义类
    SparkParams
  242. def setMaxBins(value: Int): XGBoostClassifier
    定义类
    XGBoostParams
  243. def setMaxCachedHistNode(value: Int): XGBoostClassifier
    定义类
    XGBoostParams
  244. def setMaxDeltaStep(value: Double): XGBoostClassifier
    定义类
    XGBoostParams
  245. def setMaxDepth(value: Int): XGBoostClassifier
    定义类
    XGBoostParams
  246. def setMaxLeaves(value: Int): XGBoostClassifier
    定义类
    XGBoostParams
  247. def setMaxNumDevicePages(value: Int): XGBoostClassifier
    定义类
    SparkParams
  248. def setMaxQuantileBatches(value: Int): XGBoostClassifier
    定义类
    SparkParams
  249. def setMinCachePageBytes(value: Int): XGBoostClassifier
    定义类
    SparkParams
  250. def setMinChildWeight(value: Double): XGBoostClassifier
    定义类
    XGBoostParams
  251. def setMissing(value: Float): XGBoostClassifier
    定义类
    SparkParams
  252. def setNdcgExpGain(value: Boolean): XGBoostClassifier
    定义类
    XGBoostParams
  253. def setNormalizeType(value: String): XGBoostClassifier
    定义类
    XGBoostParams
  254. def setNthread(value: Int): XGBoostClassifier
    定义类
    XGBoostParams
  255. def setNumClass(value: Int): XGBoostClassifier
    定义类
    XGBoostParams
  256. def setNumParallelTree(value: Int): XGBoostClassifier
    定义类
    XGBoostParams
  257. def setNumRound(value: Int): XGBoostClassifier
    定义类
    SparkParams
  258. def setNumWorkers(value: Int): XGBoostClassifier
    定义类
    SparkParams
  259. def setObjective(value: String): XGBoostClassifier
    定义类
    XGBoostParams
  260. def setOneDrop(value: Boolean): XGBoostClassifier
    定义类
    XGBoostParams
  261. def setPredictionCol(value: String): XGBoostClassifier
    定义类
    Predictor
  262. def setProbabilityCol(value: String): XGBoostClassifier
    定义类
    ProbabilisticClassifier
  263. def setProcessType(value: String): XGBoostClassifier
    定义类
    XGBoostParams
  264. def setRabitTrackerHostIp(value: String): XGBoostClassifier
    定义类
    SparkParams
  265. def setRabitTrackerPort(value: Int): XGBoostClassifier
    定义类
    SparkParams
  266. def setRabitTrackerTimeout(value: Int): XGBoostClassifier
    定义类
    SparkParams
  267. def setRateDrop(value: Double): XGBoostClassifier
    定义类
    XGBoostParams
  268. def setRawPredictionCol(value: String): XGBoostClassifier
    定义类
    Classifier
  269. def setRefreshLeaf(value: Boolean): XGBoostClassifier
    定义类
    XGBoostParams
  270. def setSampleType(value: String): XGBoostClassifier
    定义类
    XGBoostParams
  271. def setSamplingMethod(value: String): XGBoostClassifier
    定义类
    XGBoostParams
  272. def setScalePosWeight(value: Double): XGBoostClassifier
    定义类
    XGBoostParams
  273. def setSeed(value: Long): XGBoostClassifier
    定义类
    XGBoostParams
  274. def setSeedPerIteration(value: Boolean): XGBoostClassifier
    定义类
    XGBoostParams
  275. def setSkipDrop(value: Double): XGBoostClassifier
    定义类
    XGBoostParams
  276. def setSubsample(value: Double): XGBoostClassifier
    定义类
    XGBoostParams
  277. def setThresholds(value: Array[Double]): XGBoostClassifier
    定义类
    ProbabilisticClassifier
  278. def setTreeMethod(value: String): XGBoostClassifier
    定义类
    XGBoostParams
  279. def setTweedieVariancePower(value: Double): XGBoostClassifier
    定义类
    XGBoostParams
  280. def setUpdater(value: String): XGBoostClassifier
    定义类
    XGBoostParams
  281. def setUseExternalMemory(value: Boolean): XGBoostClassifier
    定义类
    SparkParams
  282. def setValidateParameters(value: Boolean): XGBoostClassifier
    定义类
    XGBoostParams
  283. def setVerbosity(value: Int): XGBoostClassifier
    定义类
    XGBoostParams
  284. def setWeightCol(value: String): XGBoostClassifier
    定义类
    SparkParams
  285. final val skipDrop: DoubleParam
    定义类
    DartBoosterParams
  286. final val subsample: DoubleParam
    定义类
    TreeBoosterParams
  287. final def synchronized[T0](arg0: ⇒ T0): T0
    定义类
    AnyRef
  288. val thresholds: DoubleArrayParam
    定义类
    HasThresholds
  289. def toString(): String
    定义类
    Identifiable → AnyRef → Any
  290. def train(dataset: Dataset[_]): XGBoostClassificationModel
    属性
    protected
    定义类
    XGBoostEstimator
  291. def transformSchema(schema: StructType): StructType
    定义类
    Predictor → PipelineStage
  292. def transformSchema(schema: StructType, logging: Boolean): StructType
    属性
    protected
    定义类
    PipelineStage
    注解
    @DeveloperApi()
  293. final val treeMethod: Param[String]
    定义类
    TreeBoosterParams
  294. final val tweedieVariancePower: DoubleParam
    定义类
    LearningTaskParams
  295. val uid: String
    定义类
    XGBoostClassifier → Identifiable
  296. final val updater: Param[String]
    定义类
    TreeBoosterParams
  297. final val useExternalMemory: BooleanParam
    定义类
    SparkParams
  298. def validate(dataset: Dataset[_]): Unit

    在训练前验证参数,如果可能则抛出异常

    在训练前验证参数,如果可能则抛出异常

    属性
    受保护的[spark]
    定义类
    XGBoostClassifier → XGBoostEstimator
  299. def validateAndTransformSchema(schema: StructType, fitting: Boolean, featuresDataType: DataType): StructType

    XGBoost 不使用 validateAndTransformSchema,因为 Spark 的 validateAndTransformSchema 需要确保特征是向量类型

    XGBoost 不使用 validateAndTransformSchema,因为 Spark 的 validateAndTransformSchema 需要确保特征是向量类型

    属性
    protected
    定义类
    继承自 XGBProbabilisticClassifierParams → ProbabilisticClassifierParams → ClassifierParams → PredictorParams
  300. def validateAndTransformSchema(schema: StructType, fitting: Boolean): StructType
    定义类
    SchemaValidationTrait
  301. def validateFeatureType(schema: StructType): Unit
    属性
    受保护的[spark]
    定义类
    SparkParams
  302. final val validateParameters: BooleanParam
    定义类
    GeneralParams
  303. final val verbosity: IntParam
    定义类
    GeneralParams
  304. final def wait(): Unit
    定义类
    AnyRef
    注解
    @throws( ... )
  305. final def wait(arg0: Long, arg1: Int): Unit
    定义类
    AnyRef
    注解
    @throws( ... )
  306. final def wait(arg0: Long): Unit
    定义类
    AnyRef
    注解
    @throws( ... ) @native()
  307. final val weightCol: Param[String]
    定义类
    HasWeightCol
  308. def write: MLWriter
    定义类
    继承自 DefaultParamsWritable → MLWritable
  309. def xgboost2SparkParams(xgboostParams: Map[String, Any]): Unit

    将 XGBoost 参数转换为 Spark 参数

    将 XGBoost 参数转换为 Spark 参数

    xgboostParams 参数

    XGBoost 风格的参数

    定义类
    ParamMapConversion

继承自 XGBoostEstimator[XGBoostClassifier, XGBoostClassificationModel]

继承自 DefaultParamsWritable

继承自 MLWritable

继承自 ParamMapConversion

继承自 NonParamVariables[XGBoostClassifier, XGBoostClassificationModel]

继承自 ParamUtils[XGBoostClassifier]

继承自 SparkParams[XGBoostClassifier]

继承自 SchemaValidationTrait

继承自 RabitParams

继承自 NonXGBoostParams

继承自 HasWeightCol

继承自 HasBaseMarginCol

继承自 HasFeaturesCols

继承自 XGBoostParams[XGBoostClassifier]

继承自 DartBoosterParams

继承自 GeneralParams

继承自 LearningTaskParams

继承自 TreeBoosterParams

继承自 ProbabilisticClassifier[Vector, XGBoostClassifier, XGBoostClassificationModel]

继承自 ProbabilisticClassifierParams

继承自 HasThresholds

继承自 HasProbabilityCol

继承自 Classifier[Vector, XGBoostClassifier, XGBoostClassificationModel]

继承自 ClassifierParams

继承自 HasRawPredictionCol

继承自 Predictor[Vector, XGBoostClassifier, XGBoostClassificationModel]

继承自 PredictorParams

继承自 HasPredictionCol

继承自 HasFeaturesCol

继承自 HasLabelCol

继承自 Estimator[XGBoostClassificationModel]

继承自 PipelineStage

继承自 Logging

继承自 Params

继承自 Serializable

继承自 Serializable

继承自 Identifiable

继承自 AnyRef

继承自 Any

getParam

param

未分组