class BoostingClassificationModel extends ProbabilisticClassificationModel[Vector, BoostingClassificationModel] with BoostingClassifierParams with MLWritable

Source
BoostingClassifier.scala
Linear Supertypes
MLWritable, BoostingClassifierParams, BoostingParams[EnsembleClassifierType], HasAggregationDepth, HasCheckpointInterval, HasBaseLearner[EnsembleClassifierType], HasWeightCol, HasNumBaseLearners, ProbabilisticClassificationModel[Vector, BoostingClassificationModel], ProbabilisticClassifierParams, HasThresholds, HasProbabilityCol, ClassificationModel[Vector, BoostingClassificationModel], ClassifierParams, HasRawPredictionCol, PredictionModel[Vector, BoostingClassificationModel], PredictorParams, HasPredictionCol, HasFeaturesCol, HasLabelCol, Model[BoostingClassificationModel], Transformer, PipelineStage, Logging, Params, Serializable, Identifiable, AnyRef, Any
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. BoostingClassificationModel
  2. MLWritable
  3. BoostingClassifierParams
  4. BoostingParams
  5. HasAggregationDepth
  6. HasCheckpointInterval
  7. HasBaseLearner
  8. HasWeightCol
  9. HasNumBaseLearners
  10. ProbabilisticClassificationModel
  11. ProbabilisticClassifierParams
  12. HasThresholds
  13. HasProbabilityCol
  14. ClassificationModel
  15. ClassifierParams
  16. HasRawPredictionCol
  17. PredictionModel
  18. PredictorParams
  19. HasPredictionCol
  20. HasFeaturesCol
  21. HasLabelCol
  22. Model
  23. Transformer
  24. PipelineStage
  25. Logging
  26. Params
  27. Serializable
  28. Identifiable
  29. AnyRef
  30. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new BoostingClassificationModel(numClasses: Int, weights: Array[Double], models: Array[EnsemblePredictionModelType])
  2. new BoostingClassificationModel(uid: String, numClasses: Int, weights: Array[Double], models: Array[EnsemblePredictionModelType])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def $[T](param: Param[T]): T
    Attributes
    protected
    Definition Classes
    Params
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final val aggregationDepth: IntParam
    Definition Classes
    HasAggregationDepth
  6. val algorithm: Param[String]

    Discrete (SAMME) or Real (SAMME.R) boosting algorithm.

    Discrete (SAMME) or Real (SAMME.R) boosting algorithm. (case-insensitive) Supported: "discrete", "real". (default = median)

    Definition Classes
    BoostingClassifierParams
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. val baseLearner: Param[EnsembleClassifierType]

    param for the estimator that will be used by the ensemble learner as a base learner

    param for the estimator that will be used by the ensemble learner as a base learner

    Definition Classes
    HasBaseLearner
  9. final val checkpointInterval: IntParam
    Definition Classes
    HasCheckpointInterval
  10. final def clear(param: Param[_]): BoostingClassificationModel.this.type
    Definition Classes
    Params
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  12. def copy(extra: ParamMap): BoostingClassificationModel
    Definition Classes
    BoostingClassificationModel → Model → Transformer → PipelineStage → Params
  13. def copyValues[T <: Params](to: T, extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  14. final def defaultCopy[T <: Params](extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  17. def explainParam(param: Param[_]): String
    Definition Classes
    Params
  18. def explainParams(): String
    Definition Classes
    Params
  19. def extractInstances(dataset: Dataset[_], numClasses: Int): RDD[Instance]
    Attributes
    protected
    Definition Classes
    ClassifierParams
  20. def extractInstances(dataset: Dataset[_], validateInstance: (Instance) => Unit): RDD[Instance]
    Attributes
    protected
    Definition Classes
    PredictorParams
  21. def extractInstances(dataset: Dataset[_]): RDD[Instance]
    Attributes
    protected
    Definition Classes
    PredictorParams
  22. final def extractParamMap(): ParamMap
    Definition Classes
    Params
  23. final def extractParamMap(extra: ParamMap): ParamMap
    Definition Classes
    Params
  24. final val featuresCol: Param[String]
    Definition Classes
    HasFeaturesCol
  25. def featuresDataType: DataType
    Attributes
    protected
    Definition Classes
    PredictionModel
  26. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  27. def fitBaseLearner(baseLearner: EnsembleClassifierType, labelColName: String, featuresColName: String, predictionColName: String, weightColName: Option[String])(df: DataFrame): EnsemblePredictionModelType
    Attributes
    protected
    Definition Classes
    HasBaseLearner
  28. final def get[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  29. final def getAggregationDepth: Int
    Definition Classes
    HasAggregationDepth
  30. def getAlgorithm: String

    Definition Classes
    BoostingClassifierParams
  31. def getBaseLearner: EnsembleClassifierType

    Definition Classes
    HasBaseLearner
  32. final def getCheckpointInterval: Int
    Definition Classes
    HasCheckpointInterval
  33. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  34. final def getDefault[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  35. final def getFeaturesCol: String
    Definition Classes
    HasFeaturesCol
  36. final def getLabelCol: String
    Definition Classes
    HasLabelCol
  37. def getNumBaseLearners: Int

    Definition Classes
    HasNumBaseLearners
  38. final def getOrDefault[T](param: Param[T]): T
    Definition Classes
    Params
  39. def getParam(paramName: String): Param[Any]
    Definition Classes
    Params
  40. final def getPredictionCol: String
    Definition Classes
    HasPredictionCol
  41. final def getProbabilityCol: String
    Definition Classes
    HasProbabilityCol
  42. final def getRawPredictionCol: String
    Definition Classes
    HasRawPredictionCol
  43. def getThresholds: Array[Double]
    Definition Classes
    HasThresholds
  44. final def getWeightCol: String
    Definition Classes
    HasWeightCol
  45. final def hasDefault[T](param: Param[T]): Boolean
    Definition Classes
    Params
  46. def hasParam(paramName: String): Boolean
    Definition Classes
    Params
  47. def hasParent: Boolean
    Definition Classes
    Model
  48. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  49. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  50. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  51. final def isDefined(param: Param[_]): Boolean
    Definition Classes
    Params
  52. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  53. final def isSet(param: Param[_]): Boolean
    Definition Classes
    Params
  54. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  55. final val labelCol: Param[String]
    Definition Classes
    HasLabelCol
  56. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  57. def logDebug(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  58. def logDebug(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  59. def logError(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  60. def logError(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  61. def logInfo(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  62. def logInfo(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  63. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  64. def logTrace(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  65. def logTrace(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  66. def logWarning(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  67. def logWarning(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  68. val models: Array[EnsemblePredictionModelType]
  69. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  70. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  71. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  72. val numBaseLearners: Param[Int]

    param for the number of base learners of the algorithm

    param for the number of base learners of the algorithm

    Definition Classes
    HasNumBaseLearners
  73. val numClasses: Int
    Definition Classes
    BoostingClassificationModel → ClassificationModel
  74. def numFeatures: Int
    Definition Classes
    PredictionModel
    Annotations
    @Since("1.6.0")
  75. val numModels: Int
  76. lazy val params: Array[Param[_]]
    Definition Classes
    Params
  77. var parent: Estimator[BoostingClassificationModel]
    Definition Classes
    Model
  78. def predict(features: Vector): Double
    Definition Classes
    ClassificationModel → PredictionModel
  79. def predictProbability(features: Vector): Vector
    Definition Classes
    ProbabilisticClassificationModel
    Annotations
    @Since("3.0.0")
  80. def predictRaw(features: Vector): Vector
    Definition Classes
    BoostingClassificationModel → ClassificationModel
  81. final val predictionCol: Param[String]
    Definition Classes
    HasPredictionCol
  82. def probability2prediction(probability: Vector): Double
    Attributes
    protected
    Definition Classes
    ProbabilisticClassificationModel
  83. final val probabilityCol: Param[String]
    Definition Classes
    HasProbabilityCol
  84. def raw2prediction(rawPrediction: Vector): Double
    Attributes
    protected
    Definition Classes
    ProbabilisticClassificationModel → ClassificationModel
  85. def raw2probability(rawPrediction: Vector): Vector
    Attributes
    protected
    Definition Classes
    ProbabilisticClassificationModel
  86. def raw2probabilityInPlace(rawPrediction: Vector): Vector
    Attributes
    protected
    Definition Classes
    BoostingClassificationModel → ProbabilisticClassificationModel
  87. final val rawPredictionCol: Param[String]
    Definition Classes
    HasRawPredictionCol
  88. def save(path: String): Unit
    Definition Classes
    MLWritable
    Annotations
    @Since("1.6.0") @throws("If the input path already exists but overwrite is not enabled.")
  89. final def set(paramPair: ParamPair[_]): BoostingClassificationModel.this.type
    Attributes
    protected
    Definition Classes
    Params
  90. final def set(param: String, value: Any): BoostingClassificationModel.this.type
    Attributes
    protected
    Definition Classes
    Params
  91. final def set[T](param: Param[T], value: T): BoostingClassificationModel.this.type
    Definition Classes
    Params
  92. final def setDefault(paramPairs: ParamPair[_]*): BoostingClassificationModel.this.type
    Attributes
    protected
    Definition Classes
    Params
  93. final def setDefault[T](param: Param[T], value: T): BoostingClassificationModel.this.type
    Attributes
    protected
    Definition Classes
    Params
  94. def setFeaturesCol(value: String): BoostingClassificationModel
    Definition Classes
    PredictionModel
  95. def setParent(parent: Estimator[BoostingClassificationModel]): BoostingClassificationModel
    Definition Classes
    Model
  96. def setPredictionCol(value: String): BoostingClassificationModel
    Definition Classes
    PredictionModel
  97. def setProbabilityCol(value: String): BoostingClassificationModel
    Definition Classes
    ProbabilisticClassificationModel
  98. def setRawPredictionCol(value: String): BoostingClassificationModel
    Definition Classes
    ClassificationModel
  99. def setThresholds(value: Array[Double]): BoostingClassificationModel
    Definition Classes
    ProbabilisticClassificationModel
  100. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  101. val thresholds: DoubleArrayParam
    Definition Classes
    HasThresholds
  102. def toString(): String
    Definition Classes
    Identifiable → AnyRef → Any
  103. def transform(dataset: Dataset[_]): DataFrame
    Definition Classes
    ProbabilisticClassificationModel → ClassificationModel → PredictionModel → Transformer
  104. def transform(dataset: Dataset[_], paramMap: ParamMap): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since("2.0.0")
  105. def transform(dataset: Dataset[_], firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since("2.0.0") @varargs()
  106. final def transformImpl(dataset: Dataset[_]): DataFrame
    Definition Classes
    ClassificationModel → PredictionModel
  107. def transformSchema(schema: StructType): StructType
    Definition Classes
    ProbabilisticClassificationModel → ClassificationModel → PredictionModel → PipelineStage
  108. def transformSchema(schema: StructType, logging: Boolean): StructType
    Attributes
    protected
    Definition Classes
    PipelineStage
    Annotations
    @DeveloperApi()
  109. val uid: String
    Definition Classes
    BoostingClassificationModel → Identifiable
  110. def validateAndTransformSchema(schema: StructType, fitting: Boolean, featuresDataType: DataType): StructType
    Attributes
    protected
    Definition Classes
    ProbabilisticClassifierParams → ClassifierParams → PredictorParams
  111. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  112. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  113. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  114. final val weightCol: Param[String]
    Definition Classes
    HasWeightCol
  115. val weights: Array[Double]
  116. def write: MLWriter
    Definition Classes
    BoostingClassificationModel → MLWritable

Inherited from MLWritable

Inherited from BoostingClassifierParams

Inherited from BoostingParams[EnsembleClassifierType]

Inherited from HasAggregationDepth

Inherited from HasCheckpointInterval

Inherited from HasBaseLearner[EnsembleClassifierType]

Inherited from HasWeightCol

Inherited from HasNumBaseLearners

Inherited from ProbabilisticClassificationModel[Vector, BoostingClassificationModel]

Inherited from ProbabilisticClassifierParams

Inherited from HasThresholds

Inherited from HasProbabilityCol

Inherited from ClassificationModel[Vector, BoostingClassificationModel]

Inherited from ClassifierParams

Inherited from HasRawPredictionCol

Inherited from PredictionModel[Vector, BoostingClassificationModel]

Inherited from PredictorParams

Inherited from HasPredictionCol

Inherited from HasFeaturesCol

Inherited from HasLabelCol

Inherited from Model[BoostingClassificationModel]

Inherited from Transformer

Inherited from PipelineStage

Inherited from Logging

Inherited from Params

Inherited from Serializable

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

getParam

param

Ungrouped