lib/linnaeus/persistence.rb
# Clear training data for the scope associated with this instance.
Clear training data for the scope associated with this instance.
Clear training data for the scope associated with this instance .
def clear_training_data
     keys = @redis.keys(base_key.join(':') + '*')
     keys.each do |key|
       @redis.del key
     end
  end
def clear_training_data keys = @redis . keys ( base_key . join ( ':' ) + '*' ) keys . each do | key | @redis . del key end end
Clear training data for the scope associated with this instance.
Clear training data for the scope associated with this instance .