Class: Hoatzin::FeatureVector::Model
- Inherits:
-
Object
- Object
- Hoatzin::FeatureVector::Model
- Defined in:
- lib/feature_vector/model.rb
Instance Method Summary collapse
-
#initialize(matrix, keywords) ⇒ Model
constructor
A new instance of Model.
- #matrix ⇒ Object
- #matrix=(matrix) ⇒ Object
Constructor Details
#initialize(matrix, keywords) ⇒ Model
10 11 12 13 |
# File 'lib/feature_vector/model.rb', line 10 def initialize(matrix, keywords) @keywords = keywords || {} @_dc_obj = matrix end |
Instance Method Details
#matrix ⇒ Object
19 20 21 |
# File 'lib/feature_vector/model.rb', line 19 def matrix @_dc_obj end |
#matrix=(matrix) ⇒ Object
15 16 17 |
# File 'lib/feature_vector/model.rb', line 15 def matrix=(matrix) @_dc_obj = matrix end |