Method: Eluka::FeatureVectors#add
- Defined in:
- lib/eluka/feature_vector.rb
#add(vector, label = 0) ⇒ Object
We just keep all data points stored and convert them to feature vectors only on demand
34 35 36 |
# File 'lib/eluka/feature_vector.rb', line 34 def add (vector, label = 0) @fvs.push([vector, label]) end |