Module: Predictor::Base::ClassMethods
- Defined in:
- lib/predictor/base.rb
Instance Method Summary collapse
- #input_matrices ⇒ Object
- #input_matrices=(val) ⇒ Object
- #input_matrix(key, opts = {}) ⇒ Object
- #limit_similarities_to(val) ⇒ Object
- #similarity_limit ⇒ Object
Instance Method Details
#input_matrices ⇒ Object
24 25 26 |
# File 'lib/predictor/base.rb', line 24 def input_matrices @matrices end |
#input_matrices=(val) ⇒ Object
20 21 22 |
# File 'lib/predictor/base.rb', line 20 def input_matrices=(val) @matrices = val end |
#input_matrix(key, opts = {}) ⇒ Object
7 8 9 10 |
# File 'lib/predictor/base.rb', line 7 def input_matrix(key, opts={}) @matrices ||= {} @matrices[key] = opts end |
#limit_similarities_to(val) ⇒ Object
12 13 14 |
# File 'lib/predictor/base.rb', line 12 def limit_similarities_to(val) @similarity_limit = val end |
#similarity_limit ⇒ Object
16 17 18 |
# File 'lib/predictor/base.rb', line 16 def similarity_limit @similarity_limit end |