Class: DecisionTree::ID3Tree::Node
- Inherits:
-
Struct
- Object
- Struct
- DecisionTree::ID3Tree::Node
- Defined in:
- lib/decisiontree/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
33 34 35 |
# File 'lib/decisiontree/id3_tree.rb', line 33 def attribute @attribute end |
#gain ⇒ Object
Returns the value of attribute gain
33 34 35 |
# File 'lib/decisiontree/id3_tree.rb', line 33 def gain @gain end |
#threshold ⇒ Object
Returns the value of attribute threshold
33 34 35 |
# File 'lib/decisiontree/id3_tree.rb', line 33 def threshold @threshold end |