org.apache.spark.streamdm.classifiers.trees

SplitNode

class SplitNode extends Node with Serializable

Branch node of the Hoeffding tree.

Linear Supertypes
Node, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SplitNode
  2. Node
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SplitNode(that: SplitNode)

  2. new SplitNode(classDistribution: Array[Double], conditionalTest: ConditionalTest)

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 blockClassDistribution: Array[Double]

    Definition Classes
    Node
  8. def childIndex(example: Example): Int

  9. val children: ArrayBuffer[Node]

  10. def classVotes(ht: HoeffdingTreeModel, example: Example): Array[Double]

    Return the class distribution

    Return the class distribution

    returns

    an Array containing the class distribution

    Definition Classes
    Node
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. val conditionalTest: ConditionalTest

  13. var dep: Int

    Definition Classes
    Node
  14. def depth(): Int

    Returns depth of current node in the tree

    Returns depth of current node in the tree

    returns

    the depth

    Definition Classes
    Node
  15. def description(): String

    Returns the node description

    Returns the node description

    returns

    String containing the description

    Definition Classes
    SplitNodeNode
  16. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  18. def filterToLeaf(example: Example, parent: SplitNode, index: Int): FoundNode

    Filter the data to the related leaf node

    Filter the data to the related leaf node

    example

    input example

    parent

    the parent of current node

    index

    the index of current node in the parent children

    returns

    FoundNode cotaining the leaf node

    Definition Classes
    SplitNodeNode
  19. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  22. def height(): Int

    Returns height of the tree

    Returns height of the tree

    returns

    the height

    Definition Classes
    SplitNodeNode
  23. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  24. def isLeaf(): Boolean

    Returns whether a node is a leaf

    Returns whether a node is a leaf

    returns

    true if a node is a leaf, false otherwise

    Definition Classes
    SplitNodeNode
  25. def merge(that: Node, trySplit: Boolean): Node

    Merge two nodes

    Merge two nodes

    trySplit

    flag indicating whether the node will be split

    returns

    new node

    Definition Classes
    SplitNodeNode
  26. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  29. def numChildren(): Int

    Returns number of children

    Returns number of children

    returns

    number of children

    Definition Classes
    SplitNodeNode
  30. def setChild(index: Int, node: Node): Unit

  31. def setDepth(depth: Int): Unit

    Set the depth of current node

    Set the depth of current node

    depth

    the new depth

    Definition Classes
    Node
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  33. def toString(): String

    Definition Classes
    SplitNode → AnyRef → Any
  34. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Node

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped