Class: DecisionTree::ID3Tree::Node
- Inherits:
-
Struct
- Object
- Struct
- DecisionTree::ID3Tree::Node
- Defined in:
- lib/decision_tree/id3_tree.rb
Instance Attribute Summary collapse
-
#attribute ⇒ Object
Returns the value of attribute attribute.
-
#gain ⇒ Object
Returns the value of attribute gain.
-
#threshold ⇒ Object
Returns the value of attribute threshold.
Instance Attribute Details
#attribute ⇒ Object
Returns the value of attribute attribute
19 20 21 |
# File 'lib/decision_tree/id3_tree.rb', line 19 def attribute @attribute end |
#gain ⇒ Object
Returns the value of attribute gain
19 20 21 |
# File 'lib/decision_tree/id3_tree.rb', line 19 def gain @gain end |
#threshold ⇒ Object
Returns the value of attribute threshold
19 20 21 |
# File 'lib/decision_tree/id3_tree.rb', line 19 def threshold @threshold end |