类 XGBoostClassifier 继承 ProbabilisticClassifier[Vector, XGBoostClassifier, XGBoostClassificationModel] 且具有 XGBoostEstimator[XGBoostClassifier, XGBoostClassificationModel] 且具有 XGBProbabilisticClassifierParams[XGBoostClassifier]
- 字母顺序
- 按继承顺序
- XGBoostClassifier
- XGBProbabilisticClassifierParams
- XGBoostEstimator
- DefaultParamsWritable
- MLWritable
- ParamMapConversion
- NonParamVariables
- ParamUtils
- SparkParams
- SchemaValidationTrait
- RabitParams
- NonXGBoostParams
- HasContribPredictionCol
- HasLeafPredictionCol
- HasWeightCol
- HasBaseMarginCol
- HasFeaturesCols
- XGBoostParams
- DartBoosterParams
- GeneralParams
- LearningTaskParams
- TreeBoosterParams
- ProbabilisticClassifier(概率分类器)
- ProbabilisticClassifierParams
- HasThresholds
- HasProbabilityCol
- Classifier(分类器)
- ClassifierParams
- HasRawPredictionCol
- 预测器
- PredictorParams
- HasPredictionCol
- HasFeaturesCol
- HasLabelCol
- Estimator
- PipelineStage
- Logging
- Params
- Serializable
- Serializable
- Identifiable
- AnyRef
- Any
- 隐藏所有
- 显示所有
- 公共
- 所有
实例构造函数
值成员
-
最终 定义 !=(arg0: 任意): 布尔
- 定义类
- AnyRef → Any
-
最终 定义 ##(): 整型
- 定义类
- AnyRef → Any
-
最终 定义 $[T](param: 参数[T]): T
- 属性
- protected
- 定义类
- Params
-
最终 定义 ==(arg0: 任意): 布尔
- 定义类
- AnyRef → Any
-
定义 addNonXGBoostParam(ps: 参数[_]*): 单元
- 属性
- protected
- 定义类
- NonXGBoostParams
-
最终 值 aftLossDistribution: 参数[字符串]
- 定义类
- LearningTaskParams
-
最终 值 alpha: 双精度参数
- 定义类
- TreeBoosterParams
-
最终 定义 asInstanceOf[T0]: T0
- 定义类
- Any
-
最终 值 baseMarginCol: 参数[字符串]
初始预测(又称基准边距)列名的参数。
初始预测(又称基准边距)列名的参数。
-
最终 值 baseScore: 双精度参数
- 定义类
- LearningTaskParams
-
最终 值 booster: 参数[字符串]
- 定义类
- GeneralParams
-
最终 值 cacheHostRatio: 浮点参数
- 定义类
- SparkParams
-
最终 定义 clear(param: 参数[_]): XGBoostClassifier.this.type
- 定义类
- Params
-
定义 clone(): 任意引用
- 属性
- protected[lang]
- 定义类
- AnyRef
- 注解
- @throws( ... ) @native()
-
最终 值 colsampleBylevel: 双精度参数
- 定义类
- TreeBoosterParams
-
最终 值 colsampleBynode: 双精度参数
- 定义类
- TreeBoosterParams
-
最终 值 colsampleBytree: 双精度参数
- 定义类
- TreeBoosterParams
-
最终 值 contribPredictionCol: 参数[字符串]
贡献预测列的参数。
贡献预测列的参数。
-
定义 copy(extra: 参数映射): XGBoostClassifier
- 定义类
- XGBoostEstimator → Estimator → PipelineStage → Params
-
定义 copyValues[T <: 参数](to: T, extra: 参数映射): T
- 属性
- protected
- 定义类
- Params
-
定义 createModel(booster: Booster, summary: XGBoostTrainingSummary): XGBoostClassificationModel
- 属性
- protected
- 定义类
- XGBoostClassifier → XGBoostEstimator
-
最终 值 customEval: CustomEvalParam
- 定义类
- SparkParams
-
最终 值 customObj: CustomObjParam
- 定义类
- SparkParams
-
最终 定义 defaultCopy[T <: 参数](extra: 参数映射): T
- 属性
- protected
- 定义类
- Params
-
最终 值 device: 参数[字符串]
- 定义类
- GeneralParams
-
最终 定义 eq(arg0: 任意引用): 布尔
- 定义类
- AnyRef
-
定义 equals(arg0: 任意): 布尔
- 定义类
- AnyRef → Any
-
最终 值 eta: 双精度参数
- 定义类
- TreeBoosterParams
-
最终 值 evalMetric: 参数[字符串]
- 定义类
- LearningTaskParams
-
定义 explainParam(param: 参数[_]): 字符串
- 定义类
- Params
-
定义 explainParams(): 字符串
- 定义类
- Params
-
最终 定义 extractParamMap(): 参数映射
- 定义类
- Params
-
最终 定义 extractParamMap(extra: 参数映射): 参数映射
- 定义类
- Params
-
定义 featureIsArrayType(schema: 结构类型): 布尔
- 属性
- protected[spark]
- 定义类
- SparkParams
-
最终 值 featureNames: 字符串数组参数
特征名称,将设置为 DMatrix 和 Booster,并在最终的本地 JSON 模型中。
特征名称,将设置为 DMatrix 和 Booster,并在最终的本地 JSON 模型中。在本地代码中,参数名为 feature_name。
- 定义类
- SparkParams
-
最终 值 featureTypes: 字符串数组参数
特征类型,q 为数字,c 为类别。
特征类型,q 为数字,c 为类别。在本地代码中,参数名为 feature_type
- 定义类
- SparkParams
-
最终 值 featuresCol: 参数[字符串]
- 定义类
- HasFeaturesCol
-
最终 值 featuresCols: 字符串数组参数
特征列名称的参数。
特征列名称的参数。
-
定义 finalize(): 单元
- 属性
- protected[lang]
- 定义类
- AnyRef
- 注解
- @throws( classOf[java.lang.Throwable] )
-
定义 fit(dataset: 数据集[_]): XGBoostClassificationModel
- 定义类
- Predictor → Estimator
-
定义 fit(dataset: 数据集[_], paramMaps: 序列[参数映射]): 序列[XGBoostClassificationModel]
- 定义类
- Estimator
- 注解
- @Since( "2.0.0" )
-
定义 fit(dataset: 数据集[_], paramMap: 参数映射): XGBoostClassificationModel
- 定义类
- Estimator
- 注解
- @Since( "2.0.0" )
-
定义 fit(dataset: 数据集[_], firstParamPair: 参数对[_], otherParamPairs: 参数对[_]*): XGBoostClassificationModel
- 定义类
- Estimator
- 注解
- @Since( "2.0.0" ) @varargs()
-
最终 值 forceRepartition: 布尔参数
- 定义类
- SparkParams
-
最终 值 gamma: 双精度参数
- 定义类
- TreeBoosterParams
-
最终 定义 get[T](param: 参数[T]): 选项[T]
- 定义类
- Params
-
最终 定义 getAftLossDistribution: 字符串
- 定义类
- LearningTaskParams
-
最终 定义 getAlpha: 双精度
- 定义类
- TreeBoosterParams
- 最终 定义 getBaseMarginCol: 字符串
-
最终 定义 getBaseScore: 双精度
- 定义类
- LearningTaskParams
-
最终 定义 getBooster: 字符串
- 定义类
- GeneralParams
-
最终 定义 getCacheHostRatio: 浮点数
- 定义类
- SparkParams
-
最终 定义 getClass(): 类[_]
- 定义类
- AnyRef → Any
- 注解
- @native()
-
最终 定义 getColsampleBylevel: 双精度
- 定义类
- TreeBoosterParams
-
最终 定义 getColsampleBynode: 双精度
- 定义类
- TreeBoosterParams
-
最终 定义 getColsampleBytree: 双精度
- 定义类
- TreeBoosterParams
- 最终 定义 getContribPredictionCol: 字符串
-
最终 定义 getCustomEval: EvalTrait
- 定义类
- SparkParams
-
最终 定义 getCustomObj: ObjectiveTrait
- 定义类
- SparkParams
-
最终 定义 getDefault[T](param: 参数[T]): 选项[T]
- 定义类
- Params
-
最终 定义 getDevice: 字符串
- 定义类
- GeneralParams
-
最终 定义 getEta: 双精度
- 定义类
- TreeBoosterParams
-
定义 getEvalDataset(): 选项[数据集[_]]
- 定义类
- NonParamVariables
-
最终 定义 getEvalMetric: 字符串
- 定义类
- LearningTaskParams
-
最终 定义 getFeatureNames: 数组[字符串]
- 定义类
- SparkParams
-
最终 定义 getFeatureTypes: 数组[字符串]
- 定义类
- SparkParams
-
最终 定义 getFeaturesCol: 字符串
- 定义类
- HasFeaturesCol
- 最终 定义 getFeaturesCols: 数组[字符串]
-
最终 定义 getForceRepartition: 布尔
- 定义类
- SparkParams
-
最终 定义 getGamma: 双精度
- 定义类
- TreeBoosterParams
-
最终 定义 getGrowPolicy: 字符串
- 定义类
- TreeBoosterParams
-
最终 定义 getHuberSlope: 双精度
- 定义类
- LearningTaskParams
-
最终 定义 getInferBatchSize: 整型
- 定义类
- SparkParams
-
最终 定义 getInteractionConstraints: 字符串
- 定义类
- TreeBoosterParams
-
最终 定义 getLabelCol: 字符串
- 定义类
- HasLabelCol
-
最终 定义 getLambda: 双精度
- 定义类
- TreeBoosterParams
-
最终 定义 getLambdarankBiasNorm: 双精度
- 定义类
- LearningTaskParams
-
最终 定义 getLambdarankNumPairPerSample: 整型
- 定义类
- LearningTaskParams
-
最终 定义 getLambdarankPairMethod: 字符串
- 定义类
- LearningTaskParams
-
最终 定义 getLambdarankUnbiased: 布尔
- 定义类
- LearningTaskParams
- 最终 定义 getLeafPredictionCol: 字符串
-
最终 定义 getMaxBins: 整型
- 定义类
- TreeBoosterParams
-
最终 定义 getMaxCachedHistNode: 整型
- 定义类
- TreeBoosterParams
-
最终 定义 getMaxDeltaStep: 双精度
- 定义类
- TreeBoosterParams
-
最终 定义 getMaxDepth: 整型
- 定义类
- TreeBoosterParams
-
最终 定义 getMaxLeaves: 整型
- 定义类
- TreeBoosterParams
-
最终 定义 getMaxQuantileBatches: 整型
- 定义类
- SparkParams
-
最终 定义 getMinCachePageBytes: 长整型
- 定义类
- SparkParams
-
最终 定义 getMinChildWeight: 双精度
- 定义类
- TreeBoosterParams
-
最终 定义 getMissing: 浮点数
- 定义类
- SparkParams
-
最终 定义 getMonotoneConstraints: 数组[整型]
- 定义类
- TreeBoosterParams
-
最终 定义 getNdcgExpGain: 布尔
- 定义类
- LearningTaskParams
-
最终 定义 getNormalizeType: 字符串
- 定义类
- DartBoosterParams
-
最终 定义 getNthread: 整型
- 定义类
- GeneralParams
-
最终 定义 getNumClass: 整型
- 定义类
- LearningTaskParams
-
定义 getNumClasses(dataset: 数据集[_], maxNumClasses: 整型): 整型
- 属性
- protected
- 定义类
- Classifier(分类器)
-
最终 定义 getNumEarlyStoppingRounds: 整型
- 定义类
- SparkParams
-
最终 定义 getNumParallelTree: 整型
- 定义类
- TreeBoosterParams
-
最终 定义 getNumRound: 整型
- 定义类
- SparkParams
-
最终 定义 getNumWorkers: 整型
- 定义类
- SparkParams
-
最终 定义 getObjective: 字符串
- 定义类
- LearningTaskParams
-
最终 定义 getOneDrop: 布尔
- 定义类
- DartBoosterParams
-
最终 定义 getOrDefault[T](param: 参数[T]): T
- 定义类
- Params
-
定义 getParam(paramName: 字符串): 参数[任意]
- 定义类
- Params
-
最终 定义 getPredictionCol: 字符串
- 定义类
- HasPredictionCol
-
最终 定义 getProbabilityCol: 字符串
- 定义类
- HasProbabilityCol
-
最终 定义 getProcessType: 字符串
- 定义类
- TreeBoosterParams
-
最终 定义 getRabitTrackerHostIp: 字符串
- 定义类
- RabitParams
-
最终 定义 getRabitTrackerPort: 整型
- 定义类
- RabitParams
-
最终 定义 getRabitTrackerTimeout: 整型
- 定义类
- RabitParams
-
最终 定义 getRateDrop: 双精度
- 定义类
- DartBoosterParams
-
最终 定义 getRawPredictionCol: 字符串
- 定义类
- HasRawPredictionCol
-
最终 定义 getRefreshLeaf: 布尔
- 定义类
- TreeBoosterParams
-
最终 定义 getSampleType: 字符串
- 定义类
- DartBoosterParams
-
最终 定义 getSamplingMethod: 字符串
- 定义类
- TreeBoosterParams
-
最终 定义 getScalePosWeight: 双精度
- 定义类
- TreeBoosterParams
-
最终 定义 getSeed: 长整型
- 定义类
- LearningTaskParams
-
最终 定义 getSeedPerIteration: 布尔
- 定义类
- LearningTaskParams
-
最终 定义 getSkipDrop: 双精度
- 定义类
- DartBoosterParams
-
最终 定义 getSubsample: 双精度
- 定义类
- TreeBoosterParams
-
定义 getThresholds: 数组[双精度]
- 定义类
- HasThresholds
-
最终 定义 getTreeMethod: 字符串
- 定义类
- TreeBoosterParams
-
最终 定义 getTweedieVariancePower: 双精度
- 定义类
- LearningTaskParams
-
最终 定义 getUpdater: 字符串
- 定义类
- TreeBoosterParams
-
最终 定义 getUseExternalMemory: 布尔
- 定义类
- SparkParams
-
最终 定义 getValidateParameters: 布尔
- 定义类
- GeneralParams
-
最终 定义 getVerbosity: 整型
- 定义类
- GeneralParams
-
最终 定义 getWeightCol: 字符串
- 定义类
- HasWeightCol
-
定义 getXGBoostParams: 映射[字符串, 任意]
将用户提供的参数转换为 XGBoost 参数。
将用户提供的参数转换为 XGBoost 参数。
请注意,这不包含 JVM 特定的参数。
- 定义类
- ParamMapConversion
-
最终 值 growPolicy: 参数[字符串]
- 定义类
- TreeBoosterParams
-
最终 定义 hasDefault[T](param: 参数[T]): 布尔
- 定义类
- Params
-
定义 hasParam(paramName: 字符串): 布尔
- 定义类
- Params
-
定义 hashCode(): 整型
- 定义类
- AnyRef → Any
- 注解
- @native()
-
最终 值 huberSlope: 双精度参数
- 定义类
- LearningTaskParams
-
最终 值 inferBatchSize: 整型参数
- 定义类
- SparkParams
-
定义 initializeLogIfNecessary(isInterpreter: 布尔, silent: 布尔): 布尔
- 属性
- protected
- 定义类
- Logging
-
定义 initializeLogIfNecessary(isInterpreter: 布尔): 单元
- 属性
- protected
- 定义类
- Logging
-
最终 值 interactionConstraints: 参数[字符串]
- 定义类
- TreeBoosterParams
-
最终 定义 isDefined(param: 参数[_]): 布尔
- 定义类
- Params
-
定义 isDefinedNonEmpty(param: 参数[字符串]): 布尔
- 定义类
- ParamUtils
-
def isFeaturesColsValid: Boolean
检查 featuresCols 是否有效
检查 featuresCols 是否有效
-
final def isInstanceOf[T0]: Boolean
- 定义类
- Any
-
final def isSet(param: Param[_]): Boolean
- 定义类
- Params
-
def isTraceEnabled(): Boolean
- 属性
- protected
- 定义类
- Logging
-
final val labelCol: Param[String]
- 定义类
- HasLabelCol
-
final val lambda: DoubleParam
权重上的 L2 正则化项,增加此值将使模型更保守。
权重上的 L2 正则化项,增加此值将使模型更保守。[默认值=1]
- 定义类
- TreeBoosterParams
-
final val lambdarankBiasNorm: DoubleParam
- 定义类
- LearningTaskParams
-
final val lambdarankNumPairPerSample: IntParam
- 定义类
- LearningTaskParams
-
final val lambdarankPairMethod: Param[String]
- 定义类
- LearningTaskParams
-
final val lambdarankUnbiased: BooleanParam
- 定义类
- LearningTaskParams
-
final val leafPredictionCol: Param[String]
叶子预测列的参数。
叶子预测列的参数。
-
def log: Logger
- 属性
- protected
- 定义类
- Logging
-
def logDebug(msg: ⇒ String, throwable: Throwable): Unit
- 属性
- protected
- 定义类
- Logging
-
def logDebug(msg: ⇒ String): Unit
- 属性
- protected
- 定义类
- Logging
-
def logError(msg: ⇒ String, throwable: Throwable): Unit
- 属性
- protected
- 定义类
- Logging
-
def logError(msg: ⇒ String): Unit
- 属性
- protected
- 定义类
- Logging
-
def logInfo(msg: ⇒ String, throwable: Throwable): Unit
- 属性
- protected
- 定义类
- Logging
-
def logInfo(msg: ⇒ String): Unit
- 属性
- protected
- 定义类
- Logging
-
def logName: String
- 属性
- protected
- 定义类
- Logging
-
def logTrace(msg: ⇒ String, throwable: Throwable): Unit
- 属性
- protected
- 定义类
- Logging
-
def logTrace(msg: ⇒ String): Unit
- 属性
- protected
- 定义类
- Logging
-
def logWarning(msg: ⇒ String, throwable: Throwable): Unit
- 属性
- protected
- 定义类
- Logging
-
def logWarning(msg: ⇒ String): Unit
- 属性
- protected
- 定义类
- Logging
-
val logger: Log
- 属性
- protected
- 定义类
- XGBoostEstimator
-
final val maxBins: IntParam
- 定义类
- TreeBoosterParams
-
final val maxCachedHistNode: IntParam
- 定义类
- TreeBoosterParams
-
final val maxDeltaStep: DoubleParam
- 定义类
- TreeBoosterParams
-
final val maxDepth: IntParam
- 定义类
- TreeBoosterParams
-
final val maxLeaves: IntParam
- 定义类
- TreeBoosterParams
-
final val maxQuantileBatches: IntParam
- 定义类
- SparkParams
-
final val minCachePageBytes: LongParam
- 定义类
- SparkParams
-
final val minChildWeight: DoubleParam
- 定义类
- TreeBoosterParams
-
final val missing: FloatParam
被视为缺失值。
被视为缺失值。默认值:Float.NaN
- 定义类
- SparkParams
-
final val monotoneConstraints: IntArrayParam
- 定义类
- TreeBoosterParams
-
final val ndcgExpGain: BooleanParam
- 定义类
- LearningTaskParams
-
final def ne(arg0: AnyRef): Boolean
- 定义类
- AnyRef
-
lazy val nonXGBoostParams: Array[String]
- 属性
- protected
- 定义类
- NonXGBoostParams
-
final val normalizeType: Param[String]
- 定义类
- DartBoosterParams
-
final def notify(): Unit
- 定义类
- AnyRef
- 注解
- @native()
-
final def notifyAll(): Unit
- 定义类
- AnyRef
- 注解
- @native()
-
final val nthread: IntParam
- 定义类
- GeneralParams
-
final val numClass: IntParam
- 定义类
- LearningTaskParams
-
final val numEarlyStoppingRounds: IntParam
- 定义类
- SparkParams
-
final val numParallelTree: IntParam
- 定义类
- TreeBoosterParams
-
final val numRound: IntParam
- 定义类
- SparkParams
-
final val numWorkers: IntParam
- 定义类
- SparkParams
-
final val objective: Param[String]
- 定义类
- LearningTaskParams
-
final val oneDrop: BooleanParam
- 定义类
- DartBoosterParams
-
lazy val params: Array[Param[_]]
- 定义类
- Params
-
final val predictionCol: Param[String]
- 定义类
- HasPredictionCol
-
final val probabilityCol: Param[String]
- 定义类
- HasProbabilityCol
-
final val processType: Param[String]
- 定义类
- TreeBoosterParams
-
final val rabitTrackerHostIp: Param[String]
- 定义类
- RabitParams
-
final val rabitTrackerPort: IntParam
- 定义类
- RabitParams
-
final val rabitTrackerTimeout: IntParam
- 定义类
- RabitParams
-
final val rateDrop: DoubleParam
- 定义类
- DartBoosterParams
-
final val rawPredictionCol: Param[String]
- 定义类
- HasRawPredictionCol
-
final val refreshLeaf: BooleanParam
- 定义类
- TreeBoosterParams
-
final val sampleType: Param[String]
- 定义类
- DartBoosterParams
-
final val samplingMethod: Param[String]
- 定义类
- TreeBoosterParams
-
def save(path: String): Unit
- 定义类
- MLWritable
- 注解
- @Since( "1.6.0" ) @throws( ... )
-
final val scalePosWeight: DoubleParam
- 定义类
- TreeBoosterParams
-
final val seed: LongParam
- 定义类
- LearningTaskParams
-
final val seedPerIteration: BooleanParam
- 定义类
- LearningTaskParams
-
final def set(paramPair: ParamPair[_]): XGBoostClassifier.this.type
- 属性
- protected
- 定义类
- Params
-
final def set(param: String, value: Any): XGBoostClassifier.this.type
- 属性
- protected
- 定义类
- Params
-
final def set[T](param: Param[T], value: T): XGBoostClassifier.this.type
- 定义类
- Params
-
def setAftLossDistribution(value: String): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setAlpha(value: Double): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setBaseMarginCol(value: String): XGBoostClassifier
- 定义类
- SparkParams
-
def setBaseScore(value: Double): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setBooster(value: String): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setCacheHostRatio(value: Float): XGBoostClassifier
- 定义类
- SparkParams
-
def setColsampleBylevel(value: Double): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setColsampleBynode(value: Double): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setColsampleBytree(value: Double): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setContribPredictionCol(value: String): XGBoostClassifier
- 定义类
- SparkParams
-
def setCustomEval(value: EvalTrait): XGBoostClassifier
- 定义类
- SparkParams
-
def setCustomObj(value: ObjectiveTrait): XGBoostClassifier
- 定义类
- SparkParams
-
final def setDefault(paramPairs: ParamPair[_]*): XGBoostClassifier.this.type
- 属性
- protected
- 定义类
- Params
-
final def setDefault[T](param: Param[T], value: T): XGBoostClassifier.this.type
- 属性
- protected[org.apache.spark.ml]
- 定义类
- Params
-
def setDevice(value: String): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setEta(value: Double): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setEvalDataset(ds: Dataset[_]): XGBoostClassifier
- 定义类
- NonParamVariables
-
def setEvalMetric(value: String): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setFeatureNames(value: Array[String]): XGBoostClassifier
- 定义类
- SparkParams
-
def setFeatureTypes(value: Array[String]): XGBoostClassifier
- 定义类
- SparkParams
-
def setFeaturesCol(value: Array[String]): XGBoostClassifier
- 定义类
- SparkParams
-
def setFeaturesCol(value: String): XGBoostClassifier
- 定义类
- 预测器
-
def setForceRepartition(value: Boolean): XGBoostClassifier
- 定义类
- SparkParams
-
def setGamma(value: Double): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setGrowPolicy(value: String): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setHuberSlope(value: Double): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setInferBatchSize(value: Int): XGBoostClassifier
- 定义类
- SparkParams
-
def setInteractionConstraints(value: String): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setLabelCol(value: String): XGBoostClassifier
- 定义类
- 预测器
-
def setLambda(value: Double): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setLambdarankBiasNorm(value: Double): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setLambdarankNumPairPerSample(value: Int): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setLambdarankPairMethod(value: String): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setLambdarankUnbiased(value: Boolean): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setLeafPredictionCol(value: String): XGBoostClassifier
- 定义类
- SparkParams
-
def setMaxBins(value: Int): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setMaxCachedHistNode(value: Int): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setMaxDeltaStep(value: Double): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setMaxDepth(value: Int): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setMaxLeaves(value: Int): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setMaxQuantileBatches(value: Int): XGBoostClassifier
- 定义类
- SparkParams
-
def setMinCachePageBytes(value: Long): XGBoostClassifier
- 定义类
- SparkParams
-
def setMinChildWeight(value: Double): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setMissing(value: Float): XGBoostClassifier
- 定义类
- SparkParams
-
def setNdcgExpGain(value: Boolean): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setNormalizeType(value: String): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setNthread(value: Int): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setNumClass(value: Int): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setNumEarlyStoppingRounds(value: Int): XGBoostClassifier
- 定义类
- SparkParams
-
def setNumParallelTree(value: Int): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setNumRound(value: Int): XGBoostClassifier
- 定义类
- SparkParams
-
def setNumWorkers(value: Int): XGBoostClassifier
- 定义类
- SparkParams
-
def setObjective(value: String): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setOneDrop(value: Boolean): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setPredictionCol(value: String): XGBoostClassifier
- 定义类
- 预测器
-
def setProbabilityCol(value: String): XGBoostClassifier
- 定义类
- ProbabilisticClassifier(概率分类器)
-
def setProcessType(value: String): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setRabitTrackerHostIp(value: String): XGBoostClassifier
- 定义类
- SparkParams
-
def setRabitTrackerPort(value: Int): XGBoostClassifier
- 定义类
- SparkParams
-
def setRabitTrackerTimeout(value: Int): XGBoostClassifier
- 定义类
- SparkParams
-
def setRateDrop(value: Double): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setRawPredictionCol(value: String): XGBoostClassifier
- 定义类
- Classifier(分类器)
-
def setRefreshLeaf(value: Boolean): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setSampleType(value: String): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setSamplingMethod(value: String): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setScalePosWeight(value: Double): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setSeed(value: Long): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setSeedPerIteration(value: Boolean): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setSkipDrop(value: Double): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setSubsample(value: Double): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setThresholds(value: Array[Double]): XGBoostClassifier
- 定义类
- ProbabilisticClassifier(概率分类器)
-
def setTreeMethod(value: String): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setTweedieVariancePower(value: Double): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setUpdater(value: String): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setUseExternalMemory(value: Boolean): XGBoostClassifier
- 定义类
- SparkParams
-
def setValidateParameters(value: Boolean): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setVerbosity(value: Int): XGBoostClassifier
- 定义类
- XGBoostParams
-
def setWeightCol(value: String): XGBoostClassifier
- 定义类
- SparkParams
-
final val skipDrop: DoubleParam
- 定义类
- DartBoosterParams
-
final val subsample: DoubleParam
- 定义类
- TreeBoosterParams
-
final def synchronized[T0](arg0: ⇒ T0): T0
- 定义类
- AnyRef
-
val thresholds: DoubleArrayParam
- 定义类
- HasThresholds
-
def toString(): String
- 定义类
- Identifiable → AnyRef → Any
-
def train(dataset: Dataset[_]): XGBoostClassificationModel
- 属性
- protected
- 定义类
- XGBoostEstimator
-
def transformSchema(schema: StructType): StructType
- 定义类
- Predictor → PipelineStage
-
def transformSchema(schema: StructType, logging: Boolean): StructType
- 属性
- protected
- 定义类
- PipelineStage
- 注解
- @DeveloperApi()
-
final val treeMethod: Param[String]
- 定义类
- TreeBoosterParams
-
final val tweedieVariancePower: DoubleParam
- 定义类
- LearningTaskParams
-
val uid: String
- 定义类
- XGBoostClassifier → Identifiable
-
final val updater: Param[String]
- 定义类
- TreeBoosterParams
-
final val useExternalMemory: BooleanParam
- 定义类
- SparkParams
-
def validate(dataset: Dataset[_]): Unit
Validate the parameters before training, throw exception if possible
Validate the parameters before training, throw exception if possible
- 属性
- protected[spark]
- 定义类
- XGBoostClassifier → XGBoostEstimator
-
def validateAndTransformSchema(schema: StructType, fitting: Boolean, featuresDataType: DataType): StructType
XGBoost 不使用 validateAndTransformSchema,因为 spark 的 validateAndTransformSchema 需要确保特征是向量类型
XGBoost 不使用 validateAndTransformSchema,因为 spark 的 validateAndTransformSchema 需要确保特征是向量类型
- 属性
- protected
- 定义类
- XGBProbabilisticClassifierParams → ProbabilisticClassifierParams → ClassifierParams → PredictorParams
-
def validateAndTransformSchema(schema: StructType, fitting: Boolean): StructType
- 定义类
- SchemaValidationTrait
-
def validateFeatureType(schema: StructType): Unit
- 属性
- protected[spark]
- 定义类
- SparkParams
-
final val validateParameters: BooleanParam
- 定义类
- GeneralParams
-
final val verbosity: IntParam
- 定义类
- GeneralParams
-
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()
-
final val weightCol: Param[String]
- 定义类
- HasWeightCol
-
def write: MLWriter
- 定义类
- DefaultParamsWritable → MLWritable
-
def xgboost2SparkParams(xgboostParams: Map[String, Any]): Unit
将XGBoost参数转换为Spark参数
将XGBoost参数转换为Spark参数
- xgboostParams
XGBoost风格参数
- 定义类
- ParamMapConversion