Class/Object

org.apache.spark.ml.regression

BoostingRegressionModel

Related Docs: object BoostingRegressionModel | package regression

Permalink

class BoostingRegressionModel extends RegressionModel[Vector, BoostingRegressionModel] with BoostingRegressorParams with MLWritable

Linear Supertypes
MLWritable, BoostingRegressorParams, BoostingParams, HasNumRound, HasTol, HasValidationIndicatorCol, HasBaseLearner, HasSeed, HasWeightCol, HasNumBaseLearners, RegressionModel[Vector, BoostingRegressionModel], PredictionModel[Vector, BoostingRegressionModel], PredictorParams, HasPredictionCol, HasFeaturesCol, HasLabelCol, Model[BoostingRegressionModel], Transformer, PipelineStage, Logging, Params, Serializable, Serializable, Identifiable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BoostingRegressionModel
  2. MLWritable
  3. BoostingRegressorParams
  4. BoostingParams
  5. HasNumRound
  6. HasTol
  7. HasValidationIndicatorCol
  8. HasBaseLearner
  9. HasSeed
  10. HasWeightCol
  11. HasNumBaseLearners
  12. RegressionModel
  13. PredictionModel
  14. PredictorParams
  15. HasPredictionCol
  16. HasFeaturesCol
  17. HasLabelCol
  18. Model
  19. Transformer
  20. PipelineStage
  21. Logging
  22. Params
  23. Serializable
  24. Serializable
  25. Identifiable
  26. AnyRef
  27. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BoostingRegressionModel(weights: Array[Double], models: Array[EnsemblePredictionModelType])

    Permalink
  2. new BoostingRegressionModel(uid: String, weights: Array[Double], models: Array[EnsemblePredictionModelType])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def $[T](param: Param[T]): T

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def avgLoss(lossColName: String, boostProbaColName: String)(df: DataFrame): Double

    Permalink
    Definition Classes
    BoostingParams
  7. val baseLearner: Param[EnsemblePredictorType]

    Permalink

    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
  8. def beta(avgl: Double, numClasses: Int = 2): Double

    Permalink
    Definition Classes
    BoostingParams
  9. final def clear(param: Param[_]): BoostingRegressionModel.this.type

    Permalink
    Definition Classes
    Params
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def copy(extra: ParamMap): BoostingRegressionModel

    Permalink
    Definition Classes
    BoostingRegressionModel → Model → Transformer → PipelineStage → Params
  12. def copyValues[T <: Params](to: T, extra: ParamMap): T

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  13. final def defaultCopy[T <: Params](extra: ParamMap): T

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. def evaluateOnValidation(numClasses: Int, weights: Array[Double], boosters: Array[EnsemblePredictionModelType], labelColName: String, featuresColName: String, loss: (Double) ⇒ Double)(df: DataFrame): Double

    Permalink
    Definition Classes
    BoostingParams
  17. def evaluateOnValidation(weights: Array[Double], boosters: Array[EnsemblePredictionModelType], labelColName: String, featuresColName: String, loss: (Double) ⇒ Double)(df: DataFrame): Double

    Permalink
    Definition Classes
    BoostingParams
  18. def explainParam(param: Param[_]): String

    Permalink
    Definition Classes
    Params
  19. def explainParams(): String

    Permalink
    Definition Classes
    Params
  20. def extractBoostedBag(poissonProbaColName: String, seed: Long)(df: DataFrame): DataFrame

    Permalink
    Definition Classes
    BoostingParams
  21. final def extractParamMap(): ParamMap

    Permalink
    Definition Classes
    Params
  22. final def extractParamMap(extra: ParamMap): ParamMap

    Permalink
    Definition Classes
    Params
  23. final val featuresCol: Param[String]

    Permalink
    Definition Classes
    HasFeaturesCol
  24. def featuresDataType: DataType

    Permalink
    Attributes
    protected
    Definition Classes
    PredictionModel
  25. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  26. def fitBaseLearner(baseLearner: EnsemblePredictorType, labelColName: String, featuresColName: String, predictionColName: String, weightColName: Option[String])(df: DataFrame): EnsemblePredictionModelType

    Permalink
    Definition Classes
    HasBaseLearner
  27. final def get[T](param: Param[T]): Option[T]

    Permalink
    Definition Classes
    Params
  28. def getBaseLearner: EnsemblePredictorType

    Permalink

    Definition Classes
    HasBaseLearner
  29. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  30. final def getDefault[T](param: Param[T]): Option[T]

    Permalink
    Definition Classes
    Params
  31. final def getFeaturesCol: String

    Permalink
    Definition Classes
    HasFeaturesCol
  32. final def getLabelCol: String

    Permalink
    Definition Classes
    HasLabelCol
  33. def getLoss: String

    Permalink

    Definition Classes
    BoostingRegressorParams
  34. def getNumBaseLearners: Int

    Permalink

    Definition Classes
    HasNumBaseLearners
  35. def getNumRound: Int

    Permalink

    Definition Classes
    HasNumRound
  36. final def getOrDefault[T](param: Param[T]): T

    Permalink
    Definition Classes
    Params
  37. def getParam(paramName: String): Param[Any]

    Permalink
    Definition Classes
    Params
  38. final def getPredictionCol: String

    Permalink
    Definition Classes
    HasPredictionCol
  39. final def getSeed: Long

    Permalink
    Definition Classes
    HasSeed
  40. final def getTol: Double

    Permalink
    Definition Classes
    HasTol
  41. final def getValidationIndicatorCol: String

    Permalink
    Definition Classes
    HasValidationIndicatorCol
  42. final def getWeightCol: String

    Permalink
    Definition Classes
    HasWeightCol
  43. final def hasDefault[T](param: Param[T]): Boolean

    Permalink
    Definition Classes
    Params
  44. def hasParam(paramName: String): Boolean

    Permalink
    Definition Classes
    Params
  45. def hasParent: Boolean

    Permalink
    Definition Classes
    Model
  46. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  47. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  48. def initializeLogIfNecessary(isInterpreter: Boolean): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  49. final def isDefined(param: Param[_]): Boolean

    Permalink
    Definition Classes
    Params
  50. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  51. final def isSet(param: Param[_]): Boolean

    Permalink
    Definition Classes
    Params
  52. def isTraceEnabled(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  53. final val labelCol: Param[String]

    Permalink
    Definition Classes
    HasLabelCol
  54. def log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  55. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  56. def logDebug(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  57. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  58. def logError(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  59. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  60. def logInfo(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  61. def logName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  62. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  63. def logTrace(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  64. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  65. def logWarning(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  66. val loss: Param[String]

    Permalink

    Loss function which Boosting tries to minimize.

    Loss function which Boosting tries to minimize. (case-insensitive) Supported: "exponential" (default = exponential)

    Definition Classes
    BoostingRegressorParams
  67. val models: Array[EnsemblePredictionModelType]

    Permalink
  68. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  69. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  70. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  71. val numBaseLearners: Param[Int]

    Permalink

    param for the number of base learners of the algorithm

    param for the number of base learners of the algorithm

    Definition Classes
    HasNumBaseLearners
  72. val numBaseModels: Int

    Permalink
  73. def numFeatures: Int

    Permalink
    Definition Classes
    PredictionModel
    Annotations
    @Since( "1.6.0" )
  74. val numRound: Param[Int]

    Permalink

    param for the number of round waiting for next decrease in validation set

    param for the number of round waiting for next decrease in validation set

    Definition Classes
    HasNumRound
  75. lazy val params: Array[Param[_]]

    Permalink
    Definition Classes
    Params
  76. var parent: Estimator[BoostingRegressionModel]

    Permalink
    Definition Classes
    Model
  77. def predict(features: Vector): Double

    Permalink
    Definition Classes
    BoostingRegressionModel → PredictionModel
  78. final val predictionCol: Param[String]

    Permalink
    Definition Classes
    HasPredictionCol
  79. def probabilize(boostWeightColName: String, boostProbaColName: String, poissonProbaColName: String)(df: DataFrame): DataFrame

    Permalink
    Definition Classes
    BoostingParams
  80. def save(path: String): Unit

    Permalink
    Definition Classes
    MLWritable
    Annotations
    @Since( "1.6.0" ) @throws( ... )
  81. final val seed: LongParam

    Permalink
    Definition Classes
    HasSeed
  82. final def set(paramPair: ParamPair[_]): BoostingRegressionModel.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  83. final def set(param: String, value: Any): BoostingRegressionModel.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  84. final def set[T](param: Param[T], value: T): BoostingRegressionModel.this.type

    Permalink
    Definition Classes
    Params
  85. final def setDefault(paramPairs: ParamPair[_]*): BoostingRegressionModel.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  86. final def setDefault[T](param: Param[T], value: T): BoostingRegressionModel.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  87. def setFeaturesCol(value: String): BoostingRegressionModel

    Permalink
    Definition Classes
    PredictionModel
  88. def setParent(parent: Estimator[BoostingRegressionModel]): BoostingRegressionModel

    Permalink
    Definition Classes
    Model
  89. def setPredictionCol(value: String): BoostingRegressionModel

    Permalink
    Definition Classes
    PredictionModel
  90. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  91. def terminate(avgl: Double, withValidation: Boolean, error: Double, verror: Double, tol: Double, numRound: Int, numTry: Int, iter: Int, instrumentation: Instrumentation, numClasses: Double = 2.0): (Int, Double, Int)

    Permalink
    Definition Classes
    BoostingParams
  92. def terminateVal(withValidation: Boolean, error: Double, verror: Double, tol: Double, numRound: Int, numTry: Int, iter: Int, instrumentation: Instrumentation): (Int, Double, Int)

    Permalink
    Definition Classes
    BoostingParams
  93. def toString(): String

    Permalink
    Definition Classes
    Identifiable → AnyRef → Any
  94. final val tol: DoubleParam

    Permalink
    Definition Classes
    HasTol
  95. def transform(dataset: Dataset[_]): DataFrame

    Permalink
    Definition Classes
    PredictionModel → Transformer
  96. def transform(dataset: Dataset[_], paramMap: ParamMap): DataFrame

    Permalink
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" )
  97. def transform(dataset: Dataset[_], firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): DataFrame

    Permalink
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" ) @varargs()
  98. def transformImpl(dataset: Dataset[_]): DataFrame

    Permalink
    Attributes
    protected
    Definition Classes
    PredictionModel
  99. def transformSchema(schema: StructType): StructType

    Permalink
    Definition Classes
    PredictionModel → PipelineStage
  100. def transformSchema(schema: StructType, logging: Boolean): StructType

    Permalink
    Attributes
    protected
    Definition Classes
    PipelineStage
    Annotations
    @DeveloperApi()
  101. val uid: String

    Permalink
    Definition Classes
    BoostingRegressionModel → Identifiable
  102. def updateWeights(boostWeightColName: String, lossColName: String, beta: Double, updatedBoostWeightColName: String)(df: DataFrame): DataFrame

    Permalink
    Definition Classes
    BoostingParams
  103. def validateAndTransformSchema(schema: StructType, fitting: Boolean, featuresDataType: DataType): StructType

    Permalink
    Attributes
    protected
    Definition Classes
    PredictorParams
  104. final val validationIndicatorCol: Param[String]

    Permalink
    Definition Classes
    HasValidationIndicatorCol
  105. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  106. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  107. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  108. def weight(beta: Double): Double

    Permalink
    Definition Classes
    BoostingParams
  109. final val weightCol: Param[String]

    Permalink
    Definition Classes
    HasWeightCol
  110. val weights: Array[Double]

    Permalink
  111. def write: MLWriter

    Permalink
    Definition Classes
    BoostingRegressionModel → MLWritable

Inherited from MLWritable

Inherited from BoostingRegressorParams

Inherited from BoostingParams

Inherited from HasNumRound

Inherited from HasTol

Inherited from HasValidationIndicatorCol

Inherited from HasBaseLearner

Inherited from HasSeed

Inherited from HasWeightCol

Inherited from HasNumBaseLearners

Inherited from RegressionModel[Vector, BoostingRegressionModel]

Inherited from PredictionModel[Vector, BoostingRegressionModel]

Inherited from PredictorParams

Inherited from HasPredictionCol

Inherited from HasFeaturesCol

Inherited from HasLabelCol

Inherited from Model[BoostingRegressionModel]

Inherited from Transformer

Inherited from PipelineStage

Inherited from Logging

Inherited from Params

Inherited from Serializable

Inherited from Serializable

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

getParam

param

Ungrouped