Class: NekonekoGen::Classifier
- Inherits:
-
Object
- Object
- NekonekoGen::Classifier
- Defined in:
- lib/nekoneko_gen/classifier.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#k ⇒ Object
readonly
Returns the value of attribute k.
Instance Method Summary collapse
- #classify_method_code ⇒ Object
- #default_iteration ⇒ Object
- #features(i = -1)) ⇒ Object
- #parameter_code ⇒ Object
- #update(vec, label) ⇒ Object
Instance Attribute Details
#k ⇒ Object (readonly)
Returns the value of attribute k.
4 5 6 |
# File 'lib/nekoneko_gen/classifier.rb', line 4 def k @k end |
Instance Method Details
#classify_method_code ⇒ Object
8 9 10 |
# File 'lib/nekoneko_gen/classifier.rb', line 8 def classify_method_code raise NotImplementedError end |
#default_iteration ⇒ Object
17 18 19 |
# File 'lib/nekoneko_gen/classifier.rb', line 17 def default_iteration raise NotImplementedError end |
#features(i = -1)) ⇒ Object
14 15 16 |
# File 'lib/nekoneko_gen/classifier.rb', line 14 def features(i = -1) raise NotImplementedError end |
#parameter_code ⇒ Object
5 6 7 |
# File 'lib/nekoneko_gen/classifier.rb', line 5 def parameter_code raise NotImplementedError end |
#update(vec, label) ⇒ Object
11 12 13 |
# File 'lib/nekoneko_gen/classifier.rb', line 11 def update(vec, label) raise NotImplementedError end |