类 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
- Predictor
- PredictorParams
- HasPredictionCol
- HasFeaturesCol
- HasLabelCol
- Estimator
- PipelineStage
- Logging
- Params
- Serializable
- Serializable
- Identifiable
- AnyRef
- Any
- 隐藏全部
- 显示全部
可见性
- 公开
- 全部
实例构造器
值成员
-
final def !=(arg0: Any): Boolean
- 定义类
- AnyRef → Any
-
final def ##(): Int
- 定义类
- AnyRef → Any
-
final def $[T](param: Param[T]): T
- 属性
- protected
- 定义类
- Params
-
final def ==(arg0: Any): Boolean
- 定义类
- AnyRef → Any
-
def addNonXGBoostParam(ps: Param[_]*): Unit
- 属性
- protected
- 定义类
- NonXGBoostParams
-
final val aftLossDistribution: Param[String]
- 定义类
- LearningTaskParams
-
final val alpha: DoubleParam
- 定义类
- TreeBoosterParams
-
final def asInstanceOf[T0]: T0
- 定义类
- Any
-
final val baseMarginCol: Param[String]
用于初始预测(即基准边距)列的参数。
用于初始预测(即基准边距)列的参数。
-
final val baseScore: DoubleParam
- 定义类
- LearningTaskParams
-
final val booster: Param[String]
- 定义类
- GeneralParams
-
final def clear(param: Param[_]): XGBoostClassifier.this.type
- 定义类
- Params
-
def clone(): AnyRef
- 属性
- 受保护的[lang]
- 定义类
- AnyRef
- 注解
- @throws( ... ) @native()
-
final val colsampleBylevel: DoubleParam
- 定义类
- TreeBoosterParams
-
final val colsampleBynode: DoubleParam
- 定义类
- TreeBoosterParams
-
final val colsampleBytree: DoubleParam
- 定义类
- TreeBoosterParams
-
final val contribPredictionCol: Param[String]
用于贡献预测列的参数。
用于贡献预测列的参数。
-
def copy(extra: ParamMap): XGBoostClassifier
- 定义类
- XGBoostEstimator → Estimator → PipelineStage → Params
-
def copyValues[T <: Params](to: T, extra: ParamMap): T
- 属性
- protected
- 定义类
- Params
-
def createModel(booster: Booster, summary: XGBoostTrainingSummary): XGBoostClassificationModel
- 属性
- protected
- 定义类
- XGBoostClassifier → XGBoostEstimator
-
final val customEval: CustomEvalParam
- 定义类
- SparkParams
-
final val customObj: CustomObjParam
- 定义类
- SparkParams
-
final def defaultCopy[T <: Params](extra: ParamMap): T
- 属性
- protected
- 定义类
- Params
-
final val device: Param[String]
- 定义类
- GeneralParams
-
final def eq(arg0: AnyRef): Boolean
- 定义类
- AnyRef
-
def equals(arg0: Any): Boolean
- 定义类
- AnyRef → Any
-
final val eta: DoubleParam
- 定义类
- TreeBoosterParams
-
final val evalMetric: Param[String]
- 定义类
- LearningTaskParams
-
def explainParam(param: Param[_]): String
- 定义类
- Params
-
def explainParams(): String
- 定义类
- Params
-
final def extractParamMap(): ParamMap
- 定义类
- Params
-
final def extractParamMap(extra: ParamMap): ParamMap
- 定义类
- Params
-
def featureIsArrayType(schema: StructType): Boolean
- 属性
- 受保护的[spark]
- 定义类
- SparkParams
-
final val featureNames: StringArrayParam
特征名,它将被设置为 DMatrix 和 Booster,并在最终的本地 JSON 模型中。
特征名,它将被设置为 DMatrix 和 Booster,并在最终的本地 JSON 模型中。在原生代码中,参数名为 feature_name。
- 定义类
- SparkParams
-
final val featureTypes: StringArrayParam
特征类型,q 代表数值,c 代表类别。
特征类型,q 代表数值,c 代表类别。在原生代码中,参数名为 feature_type
- 定义类
- SparkParams
-
final val featuresCol: Param[String]
- 定义类
- HasFeaturesCol
-
final val featuresCols: StringArrayParam
用于特征列名的参数。
用于特征列名的参数。
-
def finalize(): Unit
- 属性
- 受保护的[lang]
- 定义类
- AnyRef
- 注解
- @throws( classOf[java.lang.Throwable] )
-
def fit(dataset: Dataset[_]): XGBoostClassificationModel
- 定义类
- Predictor → Estimator
-
def fit(dataset: Dataset[_], paramMaps: Seq[ParamMap]): Seq[XGBoostClassificationModel]
- 定义类
- Estimator
- 注解
- @Since( "2.0.0" )
-
def fit(dataset: Dataset[_], paramMap: ParamMap): XGBoostClassificationModel
- 定义类
- Estimator
- 注解
- @Since( "2.0.0" )
-
def fit(dataset: Dataset[_], firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): XGBoostClassificationModel
- 定义类
- Estimator
- 注解
- @Since( "2.0.0" ) @varargs()
-
final val forceRepartition: BooleanParam
- 定义类
- SparkParams
-
final val gamma: DoubleParam
- 定义类
- TreeBoosterParams
-
final def get[T](param: Param[T]): Option[T]
- 定义类
- Params
-
final def getAftLossDistribution: String
- 定义类
- LearningTaskParams
-
final def getAlpha: Double
- 定义类
- TreeBoosterParams
- final def getBaseMarginCol: String
-
final def getBaseScore: Double
- 定义类
- LearningTaskParams
-
final def getBooster: String
- 定义类
- GeneralParams
-
final def getClass(): Class[_]
- 定义类
- AnyRef → Any
- 注解
- @native()
-
final def getColsampleBylevel: Double
- 定义类
- TreeBoosterParams
-
final def getColsampleBynode: Double
- 定义类
- TreeBoosterParams
-
final def getColsampleBytree: Double
- 定义类
- TreeBoosterParams
- final def getContribPredictionCol: String
-
final def getCustomEval: EvalTrait
- 定义类
- SparkParams
-
final def getCustomObj: ObjectiveTrait
- 定义类
- SparkParams
-
final def getDefault[T](param: Param[T]): Option[T]
- 定义类
- Params
-
final def getDevice: String
- 定义类
- GeneralParams
-
final def getEta: Double
- 定义类
- TreeBoosterParams
-
def getEvalDataset(): Option[Dataset[_]]
- 定义类
- NonParamVariables
-
final def getEvalMetric: String
- 定义类
- LearningTaskParams
-
final def getFeatureNames: Array[String]
- 定义类
- SparkParams
-
final def getFeatureTypes: Array[String]
- 定义类
- SparkParams
-
final def getFeaturesCol: String
- 定义类
- HasFeaturesCol
- final def getFeaturesCols: Array[String]
-
final def getForceRepartition: Boolean
- 定义类
- SparkParams
-
final def getGamma: Double
- 定义类
- TreeBoosterParams
-
final def getGrowPolicy: String
- 定义类
- TreeBoosterParams
-
final def getHuberSlope: Double
- 定义类
- LearningTaskParams
-
final def getInferBatchSize: Int
- 定义类
- SparkParams
-
final def getInteractionConstraints: String
- 定义类
- TreeBoosterParams
-
final def getLabelCol: String
- 定义类
- HasLabelCol
-
final def getLambda: Double
- 定义类
- TreeBoosterParams
-
final def getLambdarankBiasNorm: Double
- 定义类
- LearningTaskParams
-
final def getLambdarankNumPairPerSample: Int
- 定义类
- LearningTaskParams
-
final def getLambdarankPairMethod: String
- 定义类
- LearningTaskParams
-
final def getLambdarankUnbiased: Boolean
- 定义类
- LearningTaskParams
- final def getLeafPredictionCol: String
-
final def getMaxBins: Int
- 定义类
- TreeBoosterParams
-
final def getMaxCachedHistNode: Int
- 定义类
- TreeBoosterParams
-
final def getMaxDeltaStep: Double
- 定义类
- TreeBoosterParams
-
final def getMaxDepth: Int
- 定义类
- TreeBoosterParams
-
final def getMaxLeaves: Int
- 定义类
- TreeBoosterParams
-
final def getMaxNumDevicePages: Int
- 定义类
- SparkParams
-
final def getMaxQuantileBatches: Int
- 定义类
- SparkParams
-
final def getMinCachePageBytes: Int
- 定义类
- SparkParams
-
final def getMinChildWeight: Double
- 定义类
- TreeBoosterParams
-
final def getMissing: Float
- 定义类
- SparkParams
-
final def getMonotoneConstraints: Array[Int]
- 定义类
- TreeBoosterParams
-
final def getNdcgExpGain: Boolean
- 定义类
- LearningTaskParams
-
final def getNormalizeType: String
- 定义类
- DartBoosterParams
-
final def getNthread: Int
- 定义类
- GeneralParams
-
final def getNumClass: Int
- 定义类
- LearningTaskParams
-
def getNumClasses(dataset: Dataset[_], maxNumClasses: Int): Int
- 属性
- protected
- 定义类
- Classifier
-
final def getNumEarlyStoppingRounds: Int
- 定义类
- SparkParams
-
final def getNumParallelTree: Int
- 定义类
- TreeBoosterParams
-
final def getNumRound: Int
- 定义类
- SparkParams
-
final def getNumWorkers: Int
- 定义类
- SparkParams
-
final def getObjective: String
- 定义类
- LearningTaskParams
-
final def getOneDrop: Boolean
- 定义类
- DartBoosterParams
-
final def getOrDefault[T](param: Param[T]): T
- 定义类
- Params
-
def getParam(paramName: String): Param[Any]
- 定义类
- Params
-
final def getPredictionCol: String
- 定义类
- HasPredictionCol
-
final def getProbabilityCol: String
- 定义类
- HasProbabilityCol
-
final def getProcessType: String
- 定义类
- TreeBoosterParams
-
final def getRabitTrackerHostIp: String
- 定义类
- RabitParams
-
final def getRabitTrackerPort: Int
- 定义类
- RabitParams
-
final def getRabitTrackerTimeout: Int
- 定义类
- RabitParams
-
final def getRateDrop: Double
- 定义类
- DartBoosterParams
-
final def getRawPredictionCol: String
- 定义类
- HasRawPredictionCol
-
final def getRefreshLeaf: Boolean
- 定义类
- TreeBoosterParams
-
final def getSampleType: String
- 定义类
- DartBoosterParams
-
final def getSamplingMethod: String
- 定义类
- TreeBoosterParams
-
final def getScalePosWeight: Double
- 定义类
- TreeBoosterParams
-
final def getSeed: Long
- 定义类
- LearningTaskParams
-
final def getSeedPerIteration: Boolean
- 定义类
- LearningTaskParams
-
final def getSkipDrop: Double
- 定义类
- DartBoosterParams
-
final def getSubsample: Double
- 定义类
- TreeBoosterParams
-
def getThresholds: Array[Double]
- 定义类
- HasThresholds
-
final def getTreeMethod: String
- 定义类
- TreeBoosterParams
-
final def getTweedieVariancePower: Double
- 定义类
- LearningTaskParams
-
final def getUpdater: String
- 定义类
- TreeBoosterParams
-
final def getUseExternalMemory: Boolean
- 定义类
- SparkParams
-
final def getValidateParameters: Boolean
- 定义类
- GeneralParams
-
final def getVerbosity: Int
- 定义类
- GeneralParams
-
final def getWeightCol: String
- 定义类
- HasWeightCol
-
def getXGBoostParams: Map[String, Any]
将用户提供的参数转换为XGBoost参数。
将用户提供的参数转换为XGBoost参数。
注意,这不包含jvm特定的参数。
- 定义类
- ParamMapConversion
-
final val growPolicy: Param[String]
- 定义类
- TreeBoosterParams
-
final def hasDefault[T](param: Param[T]): Boolean
- 定义类
- Params
-
def hasParam(paramName: String): Boolean
- 定义类
- Params
-
def hashCode(): Int
- 定义类
- AnyRef → Any
- 注解
- @native()
-
final val huberSlope: DoubleParam
- 定义类
- LearningTaskParams
-
final val inferBatchSize: IntParam
- 定义类
- SparkParams
-
def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
- 属性
- protected
- 定义类
- Logging
-
def initializeLogIfNecessary(isInterpreter: Boolean): Unit
- 属性
- protected
- 定义类
- Logging
-
final val interactionConstraints: Param[String]
- 定义类
- TreeBoosterParams
-
final def isDefined(param: Param[_]): Boolean
- 定义类
- Params
-
def isDefinedNonEmpty(param: Param[String]): Boolean
- 定义类
- 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 maxNumDevicePages: IntParam
- 定义类
- SparkParams
-
final val maxQuantileBatches: IntParam
- 定义类
- SparkParams
-
final val minCachePageBytes: IntParam
- 定义类
- SparkParams
-
final val minChildWeight: DoubleParam
- 定义类
- TreeBoosterParams
-
被视为缺失值的值。
被视为缺失值的值。
默认值: 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
- 注解
- @自( "1.6.0" ) @抛出异常( 如果输入路径已存在但未启用覆盖。 )
-
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 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
- 定义类
- Predictor
-
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
- 定义类
- Predictor
-
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 setMaxNumDevicePages(value: Int): XGBoostClassifier
- 定义类
- SparkParams
-
def setMaxQuantileBatches(value: Int): XGBoostClassifier
- 定义类
- SparkParams
-
def setMinCachePageBytes(value: Int): 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 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
- 定义类
- Predictor
-
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
在训练前验证参数,如果可能则抛出异常
在训练前验证参数,如果可能则抛出异常
- 属性
- 受保护的[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
- 属性
- 受保护的[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