org.apache.spark.streamdm.classifiers.trees

HoeffdingTreeModel

class HoeffdingTreeModel extends Model with Serializable with Logging

Linear Supertypes
Logging, Model, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. HoeffdingTreeModel
  2. Logging
  3. Model
  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 HoeffdingTreeModel(model: HoeffdingTreeModel)

  2. new HoeffdingTreeModel(espec: ExampleSpecification, numericObserverType: Int = 0, splitCriterion: SplitCriterion = new InfoGainSplitCriterion(), growthAllowed: Boolean = true, binaryOnly: Boolean = true, graceNum: Int = 200, tieThreshold: Double = 0.05, splitConfedence: Double = 1.0E-7, learningNodeType: Int = 0, nbThreshold: Int = 0, noPrePrune: Boolean = true, removePoorFeatures: Boolean = false, splitAll: Boolean = false)

Type Members

  1. type T = HoeffdingTreeModel

    Definition Classes
    HoeffdingTreeModelModel

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. def activeLearningNode(inactiveNode: InactiveLearningNode, parent: SplitNode, pIndex: Int): Unit

  7. var activeNodeCount: Int

  8. def addSplitNode(splitNode: SplitNode, parent: SplitNode, pIndex: Int): Unit

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def attemptToSplit(learnNode: LearningNode, parent: SplitNode, pIndex: Int): Unit

  11. var baseNumExamples: Int

  12. val binaryOnly: Boolean

  13. var blockNumExamples: Int

  14. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. def computeHeoffdingBound(activeNode: ActiveLearningNode): Double

  16. def createLearningNode(nodeType: Int, that: LearningNode): LearningNode

  17. def createLearningNode(nodeType: Int, numClasses: Int): LearningNode

  18. def createLearningNode(nodeType: Int, classDistribution: Array[Double]): LearningNode

  19. def deactiveLearningNode(activeNode: ActiveLearningNode, parent: SplitNode, pIndex: Int): Unit

  20. var deactiveNodeCount: Int

  21. var decisionNodeCount: Int

  22. def desableFeatures(activeNode: ActiveLearningNode, bestSuggestions: Array[FeatureSplit], hoeffdingBound: Double): Unit

  23. def description(): String

  24. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  26. val espec: ExampleSpecification

  27. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  29. val graceNum: Int

  30. var growthAllowed: Boolean

  31. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  32. var inactiveNodeCount: Int

  33. def init(): Unit

  34. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  35. def isTraceEnabled(): Boolean

    Attributes
    protected
    Definition Classes
    Logging
  36. var lastExample: Example

  37. val learningNodeType: Int

  38. def log: Logger

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

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

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

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

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

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

    Attributes
    protected
    Definition Classes
    Logging
  45. def logName: String

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

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

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

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

    Attributes
    protected
    Definition Classes
    Logging
  50. def merge(that: HoeffdingTreeModel, trySplit: Boolean): HoeffdingTreeModel

    merge with another model's FeatureObservers and root, and try to split

  51. val nbThreshold: Int

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

    Definition Classes
    AnyRef
  53. val noPrePrune: Boolean

  54. final def notify(): Unit

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

    Definition Classes
    AnyRef
  56. val numClasses: Int

  57. val numFeatures: Int

  58. val numericObserverType: Int

  59. val outputSpec: FeatureSpecification

  60. def predict(example: Example): Double

  61. val removePoorFeatures: Boolean

  62. var root: Node

  63. def shouldSplit(activeNode: ActiveLearningNode, bestSuggestions: Array[FeatureSplit]): Boolean

    check whether split the activeNode or not according to Heoffding bound and merit

    check whether split the activeNode or not according to Heoffding bound and merit

    activeNode

    the node which may be splitted

    bestSuggestions

    array of FeatureSplit

    returns

    Boolean

  64. val splitAll: Boolean

  65. val splitConfedence: Double

  66. val splitCriterion: SplitCriterion

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

    Definition Classes
    AnyRef
  68. val tieThreshold: Double

  69. def toString(): String

    Definition Classes
    AnyRef → Any
  70. def treeHeight(): Int

  71. def update(example: Example): HoeffdingTreeModel

    Update the model, depending on the Instance given for training.

    Update the model, depending on the Instance given for training.

    returns

    the updated Model

    Definition Classes
    HoeffdingTreeModelModel
  72. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Logging

Inherited from Model

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped