Class: Coletivo::Similarity::Engine
- Inherits:
-
Object
- Object
- Coletivo::Similarity::Engine
- Defined in:
- lib/coletivo/similarity/engine.rb
Class Method Summary (collapse)
Class Method Details
+ (Object) similarity_between(one, other, preferences, options = {})
4 5 6 7 8 9 |
# File 'lib/coletivo/similarity/engine.rb', line 4 def self.similarity_between(one, other, preferences, = {}) strategy = load_strategy [:strategy] strategy.train_with(preferences) strategy.similarity_between(one, other) end |