Class: Ai4r::Classifiers::ErrorNode
- Inherits:
-
Object
- Object
- Ai4r::Classifiers::ErrorNode
- Defined in:
- lib/ai4r/classifiers/id3.rb
Overview
:nodoc: all
Instance Method Summary collapse
Instance Method Details
#get_rules ⇒ Object
324 325 326 |
# File 'lib/ai4r/classifiers/id3.rb', line 324 def get_rules return [] end |
#value(data) ⇒ Object
321 322 323 |
# File 'lib/ai4r/classifiers/id3.rb', line 321 def value(data) raise ModelFailureError, "There was not enough information during training to do a proper induction for the data element #{data}." end |