类 XGBoostClassificationModel 继承 ProbabilisticClassificationModel[Vector, XGBoostClassificationModel] 与 XGBoostModel[XGBoostClassificationModel] 和 XGBProbabilisticClassifierParams[XGBoostClassificationModel]
线性超类
排序
- 字母顺序
- 按继承顺序
已继承
- XGBoostClassificationModel
- XGBProbabilisticClassifierParams
- XGBoostModel
- ParamUtils
- SparkParams
- SchemaValidationTrait
- RabitParams
- NonXGBoostParams
- HasContribPredictionCol
- HasLeafPredictionCol
- HasWeightCol
- HasBaseMarginCol
- HasFeaturesCols
- XGBoostParams
- DartBoosterParams
- GeneralParams
- LearningTaskParams
- TreeBoosterParams
- MLWritable
- ProbabilisticClassificationModel
- ProbabilisticClassifierParams
- HasThresholds
- HasProbabilityCol
- ClassificationModel
- ClassifierParams
- HasRawPredictionCol
- PredictionModel
- PredictorParams
- HasPredictionCol
- HasFeaturesCol
- HasLabelCol
- 模型
- Transformer
- PipelineStage
- Logging
- Params
- Serializable
- Serializable
- Identifiable
- AnyRef
- Any
- 隐藏所有
- 显示所有
可见性
- 公共
- 所有
实例构造函数
- 新建 XGBoostClassificationModel(uid: 字符串)
值成员
-
最终 定义 !=(arg0: 任意): 布尔值
- 定义类
- AnyRef → Any
-
最终 定义 ##(): 整数
- 定义类
- AnyRef → Any
-
最终 定义 $[T](param: 参数[T]): T
- 属性
- protected
- 定义类
- Params
-
最终 定义 ==(arg0: 任意): 布尔值
- 定义类
- AnyRef → Any
-
值 TMP_TRANSFORMED_COL: 字符串
- 属性
- protected
- 定义类
- XGBoostModel
-
定义 addNonXGBoostParam(ps: 参数[_]*): 单元
- 属性
- protected
- 定义类
- NonXGBoostParams
-
最终 值 aftLossDistribution: 参数[字符串]
- 定义类
- LearningTaskParams
-
最终 值 alpha: DoubleParam
- 定义类
- TreeBoosterParams
-
最终 定义 asInstanceOf[T0]: T0
- 定义类
- Any
-
最终 值 baseMarginCol: 参数[字符串]
初始预测(又称基准边距)列名的参数。
初始预测(又称基准边距)列名的参数。
-
最终 值 baseScore: DoubleParam
- 定义类
- LearningTaskParams
-
最终 值 booster: 参数[字符串]
- 定义类
- GeneralParams
-
最终 值 cacheHostRatio: FloatParam
- 定义类
- SparkParams
-
最终 定义 clear(param: 参数[_]): XGBoostClassificationModel.this.type
- 定义类
- Params
-
定义 clone(): AnyRef
- 属性
- protected[lang]
- 定义类
- AnyRef
- 注解
- @throws( ... ) @native()
-
最终 值 colsampleBylevel: DoubleParam
- 定义类
- TreeBoosterParams
-
最终 值 colsampleBynode: DoubleParam
- 定义类
- TreeBoosterParams
-
最终 值 colsampleBytree: DoubleParam
- 定义类
- TreeBoosterParams
-
最终 值 contribPredictionCol: 参数[字符串]
贡献预测列的参数。
贡献预测列的参数。
-
定义 copy(extra: 参数映射): XGBoostClassificationModel
- 定义类
- XGBoostClassificationModel → XGBoostModel → Model → Transformer → PipelineStage → Params
-
定义 copyValues[T <: 参数](to: T, extra: 参数映射): T
- 属性
- protected
- 定义类
- Params
-
最终 值 customEval: CustomEvalParam
- 定义类
- SparkParams
-
最终 值 customObj: CustomObjParam
- 定义类
- SparkParams
-
最终 定义 defaultCopy[T <: 参数](extra: 参数映射): T
- 属性
- protected
- 定义类
- Params
-
最终 值 device: 参数[字符串]
- 定义类
- GeneralParams
-
最终 定义 eq(arg0: AnyRef): 布尔值
- 定义类
- AnyRef
-
定义 equals(arg0: 任意): 布尔值
- 定义类
- AnyRef → Any
-
最终 值 eta: DoubleParam
- 定义类
- TreeBoosterParams
-
最终 值 evalMetric: 参数[字符串]
- 定义类
- LearningTaskParams
-
定义 explainParam(param: 参数[_]): 字符串
- 定义类
- Params
-
定义 explainParams(): 字符串
- 定义类
- Params
-
最终 定义 extractParamMap(): 参数映射
- 定义类
- Params
-
最终 定义 extractParamMap(extra: 参数映射): 参数映射
- 定义类
- Params
-
定义 featureIsArrayType(schema: 结构类型): 布尔值
- 属性
- protected[spark]
- 定义类
- SparkParams
-
最终 值 featureNames: StringArrayParam
特征名称,将设置为 DMatrix 和 Booster,并在最终的本地 JSON 模型中。
特征名称,将设置为 DMatrix 和 Booster,并在最终的本地 JSON 模型中。在本地代码中,参数名为 feature_name。
- 定义类
- SparkParams
-
最终 值 featureTypes: StringArrayParam
特征类型,q 为数字,c 为类别。
特征类型,q 为数字,c 为类别。在本地代码中,参数名为 feature_type
- 定义类
- SparkParams
-
最终 值 featuresCol: 参数[字符串]
- 定义类
- HasFeaturesCol
-
最终 值 featuresCols: StringArrayParam
特征列名称的参数。
特征列名称的参数。
-
定义 featuresDataType: 数据类型
- 属性
- protected
- 定义类
- PredictionModel
-
定义 finalize(): 单元
- 属性
- protected[lang]
- 定义类
- AnyRef
- 注解
- @throws( classOf[java.lang.Throwable] )
-
最终 值 forceRepartition: BooleanParam
- 定义类
- SparkParams
-
最终 值 gamma: DoubleParam
- 定义类
- 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
-
最终 定义 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
-
最终 定义 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
-
最终 值 growPolicy: 参数[字符串]
- 定义类
- TreeBoosterParams
-
最终 定义 hasDefault[T](param: 参数[T]): 布尔值
- 定义类
- Params
-
定义 hasParam(paramName: 字符串): 布尔值
- 定义类
- Params
-
定义 hasParent: 布尔值
- 定义类
- 模型
-
定义 hashCode(): 整数
- 定义类
- AnyRef → Any
- 注解
- @native()
-
最终 值 huberSlope: DoubleParam
- 定义类
- LearningTaskParams
-
最终 值 inferBatchSize: IntParam
- 定义类
- SparkParams
-
定义 initializeLogIfNecessary(isInterpreter: 布尔值, silent: 布尔值): 布尔值
- 属性
- protected
- 定义类
- Logging
-
定义 initializeLogIfNecessary(isInterpreter: 布尔值): 单元
- 属性
- protected
- 定义类
- Logging
-
最终 值 interactionConstraints: 参数[字符串]
- 定义类
- TreeBoosterParams
-
最终 定义 isDefined(param: 参数[_]): 布尔值
- 定义类
- Params
-
定义 isDefinedNonEmpty(param: 参数[字符串]): 布尔值
- 定义类
- ParamUtils
-
定义 isFeaturesColsValid: 布尔值
检查 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
-
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
-
val nativeBooster: Booster
获取原生XGBoost Booster
获取原生XGBoost Booster
- 定义类
- XGBoostClassificationModel → XGBoostModel
-
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
-
val numClasses: Int
- 定义类
- XGBoostClassificationModel → ClassificationModel
-
final val numEarlyStoppingRounds: IntParam
- 定义类
- SparkParams
-
def numFeatures: Int
- 定义类
- PredictionModel
- 注解
- @Since( "1.6.0" )
-
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
-
var parent: Estimator[XGBoostClassificationModel]
- 定义类
- 模型
-
def postTransform(dataset: Dataset[_], pred: PredictedColumns): Dataset[_]
- 属性
- protected[spark]
- 定义类
- XGBoostClassificationModel → XGBoostModel
-
def predict(features: Vector): Double
- 定义类
- ClassificationModel → PredictionModel
-
def predictProbability(features: Vector): Vector
- 定义类
- ProbabilisticClassificationModel
- 注解
- @Since( "3.0.0" )
-
def predictRaw(features: Vector): Vector
- 定义类
- XGBoostClassificationModel → ClassificationModel
-
def predictSingleInstance(features: Vector): Array[Float]
- 属性
- protected
- 定义类
- XGBoostModel
-
final val predictionCol: Param[String]
- 定义类
- HasPredictionCol
-
def probability2prediction(probability: Vector): Double
- 属性
- protected
- 定义类
- ProbabilisticClassificationModel
-
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
-
def raw2prediction(rawPrediction: Vector): Double
- 属性
- protected
- 定义类
- ProbabilisticClassificationModel → ClassificationModel
-
def raw2probability(rawPrediction: Vector): Vector
- 属性
- protected
- 定义类
- ProbabilisticClassificationModel
-
def raw2probabilityInPlace(rawPrediction: Vector): Vector
- 属性
- protected
- 定义类
- XGBoostClassificationModel → ProbabilisticClassificationModel
-
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[_]): XGBoostClassificationModel.this.type
- 属性
- protected
- 定义类
- Params
-
final def set(param: String, value: Any): XGBoostClassificationModel.this.type
- 属性
- protected
- 定义类
- Params
-
final def set[T](param: Param[T], value: T): XGBoostClassificationModel.this.type
- 定义类
- Params
-
def setAftLossDistribution(value: String): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setAlpha(value: Double): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setBaseMarginCol(value: String): XGBoostClassificationModel
- 定义类
- SparkParams
-
def setBaseScore(value: Double): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setBooster(value: String): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setCacheHostRatio(value: Float): XGBoostClassificationModel
- 定义类
- SparkParams
-
def setColsampleBylevel(value: Double): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setColsampleBynode(value: Double): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setColsampleBytree(value: Double): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setContribPredictionCol(value: String): XGBoostClassificationModel
- 定义类
- SparkParams
-
def setCustomEval(value: EvalTrait): XGBoostClassificationModel
- 定义类
- SparkParams
-
def setCustomObj(value: ObjectiveTrait): XGBoostClassificationModel
- 定义类
- SparkParams
-
final def setDefault(paramPairs: ParamPair[_]*): XGBoostClassificationModel.this.type
- 属性
- protected
- 定义类
- Params
-
final def setDefault[T](param: Param[T], value: T): XGBoostClassificationModel.this.type
- 属性
- protected[org.apache.spark.ml]
- 定义类
- Params
-
def setDevice(value: String): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setEta(value: Double): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setEvalMetric(value: String): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setFeatureNames(value: Array[String]): XGBoostClassificationModel
- 定义类
- SparkParams
-
def setFeatureTypes(value: Array[String]): XGBoostClassificationModel
- 定义类
- SparkParams
-
def setFeaturesCol(value: Array[String]): XGBoostClassificationModel
- 定义类
- SparkParams
-
def setFeaturesCol(value: String): XGBoostClassificationModel
- 定义类
- PredictionModel
-
def setForceRepartition(value: Boolean): XGBoostClassificationModel
- 定义类
- SparkParams
-
def setGamma(value: Double): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setGrowPolicy(value: String): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setHuberSlope(value: Double): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setInferBatchSize(value: Int): XGBoostClassificationModel
- 定义类
- SparkParams
-
def setInteractionConstraints(value: String): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setLambda(value: Double): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setLambdarankBiasNorm(value: Double): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setLambdarankNumPairPerSample(value: Int): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setLambdarankPairMethod(value: String): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setLambdarankUnbiased(value: Boolean): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setLeafPredictionCol(value: String): XGBoostClassificationModel
- 定义类
- SparkParams
-
def setMaxBins(value: Int): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setMaxCachedHistNode(value: Int): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setMaxDeltaStep(value: Double): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setMaxDepth(value: Int): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setMaxLeaves(value: Int): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setMaxQuantileBatches(value: Int): XGBoostClassificationModel
- 定义类
- SparkParams
-
def setMinCachePageBytes(value: Long): XGBoostClassificationModel
- 定义类
- SparkParams
-
def setMinChildWeight(value: Double): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setMissing(value: Float): XGBoostClassificationModel
- 定义类
- SparkParams
-
def setNdcgExpGain(value: Boolean): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setNormalizeType(value: String): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setNthread(value: Int): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setNumClass(value: Int): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setNumEarlyStoppingRounds(value: Int): XGBoostClassificationModel
- 定义类
- SparkParams
-
def setNumParallelTree(value: Int): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setNumRound(value: Int): XGBoostClassificationModel
- 定义类
- SparkParams
-
def setNumWorkers(value: Int): XGBoostClassificationModel
- 定义类
- SparkParams
-
def setObjective(value: String): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setOneDrop(value: Boolean): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setParent(parent: Estimator[XGBoostClassificationModel]): XGBoostClassificationModel
- 定义类
- 模型
-
def setPredictionCol(value: String): XGBoostClassificationModel
- 定义类
- PredictionModel
-
def setProbabilityCol(value: String): XGBoostClassificationModel
- 定义类
- ProbabilisticClassificationModel
-
def setProcessType(value: String): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setRabitTrackerHostIp(value: String): XGBoostClassificationModel
- 定义类
- SparkParams
-
def setRabitTrackerPort(value: Int): XGBoostClassificationModel
- 定义类
- SparkParams
-
def setRabitTrackerTimeout(value: Int): XGBoostClassificationModel
- 定义类
- SparkParams
-
def setRateDrop(value: Double): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setRawPredictionCol(value: String): XGBoostClassificationModel
- 定义类
- ClassificationModel
-
def setRefreshLeaf(value: Boolean): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setSampleType(value: String): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setSamplingMethod(value: String): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setScalePosWeight(value: Double): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setSeed(value: Long): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setSeedPerIteration(value: Boolean): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setSkipDrop(value: Double): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setSubsample(value: Double): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setThresholds(value: Array[Double]): XGBoostClassificationModel
- 定义类
- ProbabilisticClassificationModel
-
def setTreeMethod(value: String): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setTweedieVariancePower(value: Double): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setUpdater(value: String): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setUseExternalMemory(value: Boolean): XGBoostClassificationModel
- 定义类
- SparkParams
-
def setValidateParameters(value: Boolean): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setVerbosity(value: Int): XGBoostClassificationModel
- 定义类
- XGBoostParams
-
def setWeightCol(value: String): XGBoostClassificationModel
- 定义类
- SparkParams
-
final val skipDrop: DoubleParam
- 定义类
- DartBoosterParams
-
final val subsample: DoubleParam
- 定义类
- TreeBoosterParams
-
val summary: Option[XGBoostTrainingSummary]
- 定义类
- XGBoostClassificationModel → XGBoostModel
-
final def synchronized[T0](arg0: ⇒ T0): T0
- 定义类
- AnyRef
-
val thresholds: DoubleArrayParam
- 定义类
- HasThresholds
-
def toString(): String
- 定义类
- Identifiable → AnyRef → Any
-
def transform(dataset: Dataset[_]): DataFrame
- 定义类
- XGBoostModel → Transformer
-
def transform(dataset: Dataset[_], paramMap: ParamMap): DataFrame
- 定义类
- Transformer
- 注解
- @Since( "2.0.0" )
-
def transform(dataset: Dataset[_], firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): DataFrame
- 定义类
- Transformer
- 注解
- @Since( "2.0.0" ) @varargs()
-
final def transformImpl(dataset: Dataset[_]): DataFrame
- 定义类
- ClassificationModel → PredictionModel
-
def transformSchema(schema: StructType): StructType
- 定义类
- ProbabilisticClassificationModel → ClassificationModel → PredictionModel → 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
- 定义类
- XGBoostClassificationModel → 可识别
-
final val updater: Param[String]
- 定义类
- TreeBoosterParams
-
final val useExternalMemory: BooleanParam
- 定义类
- SparkParams
-
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
- 定义类
- XGBoostModel → MLWritable