Class: Weka::Classifier::Rules::JRip::Base
- Inherits:
-
Weka::Classifier::Rules::JRip
- Object
- Weka::Classifier::Rules::JRip
- Weka::Classifier::Rules::JRip::Base
- Defined in:
- lib/ruby-band/weka/classifiers/rules/rules.rb
Instance Method Summary collapse
-
#initialize(&block) ⇒ Base
constructor
A new instance of Base.
Methods included from Rules_utils
#cross_validate, #description, included, #init_instance_classifier, #init_rules, #list_options, #set_class_index, #set_data, #set_options
Constructor Details
#initialize(&block) ⇒ Base
Returns a new instance of Base.
51 52 53 54 55 56 57 58 |
# File 'lib/ruby-band/weka/classifiers/rules/rules.rb', line 51 def initialize(&block) super if block_given? init_instance_classifier(&block) else init_classifier end end |