Class: DecisionTree::Node
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
36 37 38 |
# File 'lib/decisiontree/id3_tree.rb', line 36 def attribute @attribute end |
#gain ⇒ Object
Returns the value of attribute gain
36 37 38 |
# File 'lib/decisiontree/id3_tree.rb', line 36 def gain @gain end |
#threshold ⇒ Object
Returns the value of attribute threshold
36 37 38 |
# File 'lib/decisiontree/id3_tree.rb', line 36 def threshold @threshold end |