Module: FeldtRuby::CompositableDistance
- Included in:
- CompositeMetric
- Defined in:
- lib/feldtruby/statistics/distance.rb
Instance Method Summary collapse
Instance Method Details
#initialize(metric = EuclideanDistance.new) ⇒ Object
12 13 14 |
# File 'lib/feldtruby/statistics/distance.rb', line 12 def initialize(metric = EuclideanDistance.new) @sub_metric = metric end |