class CrystalML::Tree::Node
- CrystalML::Tree::Node
- Reference
- Object
Defined in:
utils/tree.crConstructors
Instance Method Summary
- #feature_index : Int32 | Nil
- #feature_index=(feature_index : Int32 | Nil)
- #is_leaf? : Bool
- #left : Node | Nil
- #left=(left : Node | Nil)
- #right : Node | Nil
- #right=(right : Node | Nil)
- #threshold : Float64 | Nil
- #threshold=(threshold : Float64 | Nil)
- #value : Float64 | Nil
- #value=(value : Float64 | Nil)
Constructor Detail
def self.new(feature_index : Int32 | Nil = nil, threshold : Float64 | Nil = nil, left : Node | Nil = nil, right : Node | Nil = nil, value : Float64 | Nil = nil)
#