case class LeafNode(y: Int, nu: VectoI) extends Node with Cloneable with Product with Serializable
The LeafNode
class is for leaf nodes.
- y
the respone/decision value
- nu
the frequency count (count for each possible decision value for y)
- Alphabetic
- By Inheritance
- LeafNode
- Serializable
- Serializable
- Product
- Equals
- Node
- Cloneable
- Cloneable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
LeafNode(y: Int, nu: VectoI)
- y
the respone/decision value
- nu
the frequency count (count for each possible decision value for y)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
copy(vc: Array[Int]): Node
Copy a node and all of its child nodes.
-
def
deepCopy(curNode: Node, vc: Array[Int]): Node
This method deep copies a node all the way down by creating new instances of feature node.
This method deep copies a node all the way down by creating new instances of feature node. This is required while pruning.
- curNode
the current node
- vc
the value count
- Definition Classes
- Node
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val nu: VectoI
-
val
nu_sum: Int
The sum of frequency counts
The sum of frequency counts
- Definition Classes
- Node
- var parent: FeatureNode
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- val y: Int