Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
CrystalML::Tree::Node
Inherits
Reference
/
Object
Constructors
new
(feature_index :
Int32
|
Nil
= nil, threshold :
Float64
|
Nil
= nil, left :
Node
|
Nil
= nil, right :
Node
|
Nil
= nil, value :
Float64
|
Nil
= nil)
Source
Instance methods
feature_index
Source
feature_index=
(feature_index :
Int32
|
Nil
)
Source
is_leaf?
Source
left
Source
left=
(left :
Node
|
Nil
)
Source
right
Source
right=
(right :
Node
|
Nil
)
Source
threshold
Source
threshold=
(threshold :
Float64
|
Nil
)
Source
value
Source
value=
(value :
Float64
|
Nil
)
Source