lib/svmkit/pairwise_metric.rb in svmkit-0.2.9 vs lib/svmkit/pairwise_metric.rb in svmkit-0.3.0
- old
+ new
@@ -1,6 +1,8 @@
# frozen_string_literal: true
+require 'svmkit/validation'
+
module SVMKit
# Module for calculating pairwise distances, similarities, and kernels.
module PairwiseMetric
class << self
# Calculate the pairwise euclidean distances between x and y.