scalation.modeling.classifying.Node
See theNode companion object
case class Node(j: Int, gn: Double, nu: VectorI, parent: Node = ..., y: Int, var leaf: Boolean = ...) extends Cloneable
The Node class is used to hold information about a node in the decision tree.
Value parameters
-
gn
-
the information gain recorded at this node
-
j
-
the feature/variable number used for splitting (negative => leaf)
-
leaf
-
whether the node is a leaf (terminal node)
-
nu
-
the frequency count
-
parent
-
the parent node (null for root)
-
y
-
the response/decision value
Attributes
-
Companion
-
object
-
Graph
-
-
Supertypes
-
trait Serializable
trait Product
trait Equals
trait Cloneable
class Object
trait Matchable
class Any
Show all
Members list
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
-
Returns
-
a string representation of the object.
-
Definition Classes
-
Any
An iterator over the names of all the elements of this product.
An iterator over the names of all the elements of this product.
Attributes
-
Inherited from:
-
Product
An iterator over all the elements of this product.
An iterator over all the elements of this product.
Attributes
-
Returns
-
in the default implementation, an Iterator[Any]
-
Inherited from:
-
Product