final case class NodeImpl(left: Node, right: Node, id: Int, index: Int, defaultLeft: Boolean, value: Float, sumHess: Double, mean: Double = 0.0) extends Node with Product with Serializable
The node implementation (actually a simple case class)
- left
left child
- right
right child
- id
rw node id (just used for information)
- index
split index
- defaultLeft
is left child the default
- value
node value
- sumHess
sum hess
- mean
mean value
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- NodeImpl
- Product
- Equals
- Node
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
NodeImpl(left: Node, right: Node, id: Int, index: Int, defaultLeft: Boolean, value: Float, sumHess: Double, mean: Double = 0.0)
- left
left child
- right
right child
- id
rw node id (just used for information)
- index
split index
- defaultLeft
is left child the default
- value
node value
- sumHess
sum hess
- mean
mean value
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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
computeMeans(): Double
- Definition Classes
- Node
- val defaultLeft: Boolean
-
def
depth: Int
- Definition Classes
- Node
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
findLeaf(vector: FVector): Node
- Definition Classes
- Node
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val id: Int
- val index: Int
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
lazy val
isLeaf: Boolean
- Definition Classes
- Node
- val left: Node
- var mean: Double
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
next(vector: FVector): Node
- Definition Classes
- Node
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val right: Node
- def serialize(fullTree: Boolean = false): Array[Byte]
- def setMean(v: Double): Unit
-
def
size: Int
- Definition Classes
- Node
- val sumHess: Double
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- NodeImpl → AnyRef → Any
- val value: Float
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated