org.apache.spark.streamdm.classifiers.trees

HoeffdingTree

class HoeffdingTree extends Classifier

The Hoeffding tree is an incremental decision tree learner for large data streams, that assumes that the data distribution is not changing over time. It grows incrementally a decision tree based on the theoretical guarantees of the Hoeffding bound (or additive Chernoff bound). A node is expanded as soon as there is sufficient statistical evidence that an optimal splitting feature exists, a decision based on the distribution-independent Hoeffding bound. The model learned by the Hoeffding tree is asymptotically nearly identical to the one built by a non-incremental learner, if the number of training instances is large enough.

It is controlled by the following options:

Linear Supertypes
Classifier, Learner, Serializable, Configurable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. HoeffdingTree
  2. Classifier
  3. Learner
  4. Serializable
  5. Configurable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HoeffdingTree()

Type Members

  1. type T = HoeffdingTreeModel

    Definition Classes
    HoeffdingTreeLearner

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. val binaryOnlyOption: FlagOption

  8. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  11. var espec: ExampleSpecification

  12. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  14. def getModel: HoeffdingTreeModel

    Gets the current Model used for the Learner.

    Gets the current Model used for the Learner.

    returns

    the Model object used for training

    Definition Classes
    HoeffdingTreeLearner
  15. val growthAllowedOption: FlagOption

  16. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  17. def init(exampleSpecification: ExampleSpecification): Unit

    Init the model based on the algorithm implemented in the learner.

    Init the model based on the algorithm implemented in the learner.

    exampleSpecification

    the ExampleSpecification of the input stream.

    Definition Classes
    HoeffdingTreeLearner
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. val learningNodeOption: IntOption

  20. var model: HoeffdingTreeModel

  21. val nbThresholdOption: IntOption

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

    Definition Classes
    AnyRef
  23. val noPrePruneOption: FlagOption

  24. final def notify(): Unit

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

    Definition Classes
    AnyRef
  26. val numGraceOption: IntOption

  27. val numericObserverTypeOption: IntOption

  28. def predict(input: DStream[Example]): DStream[(Example, Double)]

    Definition Classes
    HoeffdingTreeClassifier
  29. val removePoorFeaturesOption: FlagOption

  30. val splitAllOption: FlagOption

  31. val splitConfidenceOption: FloatOption

  32. val splitCriterionOption: ClassOption

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

    Definition Classes
    AnyRef
  34. val tieThresholdOption: FloatOption

  35. def toString(): String

    Definition Classes
    AnyRef → Any
  36. def train(input: DStream[Example]): Unit

    Train the model based on the algorithm implemented in the learner, from the stream of Examples given for training.

    Train the model based on the algorithm implemented in the learner, from the stream of Examples given for training.

    input

    a stream of Examples

    Definition Classes
    HoeffdingTreeLearner
  37. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Classifier

Inherited from Learner

Inherited from Serializable

Inherited from Configurable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped