org.apache.spark.mllib.tree.configuration

BoostingStrategy

case class BoostingStrategy(treeStrategy: Strategy, loss: Loss, numIterations: Int = 100, learningRate: Double = 0.1) extends Serializable with Product

:: Experimental :: Configuration options for org.apache.spark.mllib.tree.GradientBoostedTrees.

treeStrategy

Parameters for the tree algorithm. We support regression and binary classification for boosting. Impurity setting will be ignored.

loss

Loss function used for minimization during gradient boosting.

numIterations

Number of iterations of boosting. In other words, the number of weak hypotheses used in the final model.

learningRate

Learning rate for shrinking the contribution of each estimator. The learning rate should be between in the interval (0, 1]

Annotations
@Experimental()
Linear Supertypes
Product, Equals, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BoostingStrategy
  2. Product
  3. Equals
  4. Serializable
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BoostingStrategy(treeStrategy: Strategy, loss: Loss, numIterations: Int = 100, learningRate: Double = 0.1)

    treeStrategy

    Parameters for the tree algorithm. We support regression and binary classification for boosting. Impurity setting will be ignored.

    loss

    Loss function used for minimization during gradient boosting.

    numIterations

    Number of iterations of boosting. In other words, the number of weak hypotheses used in the final model.

    learningRate

    Learning rate for shrinking the contribution of each estimator. The learning rate should be between in the interval (0, 1]

Value Members

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

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

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

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

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  8. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  9. def getLearningRate(): Double

  10. def getLoss(): Loss

  11. def getNumIterations(): Int

  12. def getTreeStrategy(): Strategy

  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. var learningRate: Double

    Learning rate for shrinking the contribution of each estimator.

    Learning rate for shrinking the contribution of each estimator. The learning rate should be between in the interval (0, 1]

  15. var loss: Loss

    Loss function used for minimization during gradient boosting.

  16. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  19. var numIterations: Int

    Number of iterations of boosting.

    Number of iterations of boosting. In other words, the number of weak hypotheses used in the final model.

  20. def setLearningRate(arg0: Double): Unit

  21. def setLoss(arg0: Loss): Unit

  22. def setNumIterations(arg0: Int): Unit

  23. def setTreeStrategy(arg0: Strategy): Unit

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. var treeStrategy: Strategy

    Parameters for the tree algorithm.

    Parameters for the tree algorithm. We support regression and binary classification for boosting. Impurity setting will be ignored.

  26. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Product

Inherited from Equals

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped