Sha256: 149e41dc556b51da365b5c5ae1ddb96a4968bd3312b5ca0242d4699138738be8

Contents?: true

Size: 319 Bytes

Versions: 21

Compression:

Stored size: 319 Bytes

Contents

# frozen_string_literal: true

module SVMKit
  module Base
    # Module for all evaluation measures in SVMKit.
    module Evaluator
      # An abstract method for evaluation of model.
      def score
        raise NotImplementedError, "#{__method__} has to be implemented in #{self.class}."
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
svmkit-0.7.3 lib/svmkit/base/evaluator.rb
svmkit-0.7.2 lib/svmkit/base/evaluator.rb
svmkit-0.7.1 lib/svmkit/base/evaluator.rb
svmkit-0.7.0 lib/svmkit/base/evaluator.rb
svmkit-0.6.3 lib/svmkit/base/evaluator.rb
svmkit-0.6.2 lib/svmkit/base/evaluator.rb
svmkit-0.6.1 lib/svmkit/base/evaluator.rb
svmkit-0.6.0 lib/svmkit/base/evaluator.rb
svmkit-0.5.2 lib/svmkit/base/evaluator.rb
svmkit-0.5.1 lib/svmkit/base/evaluator.rb
svmkit-0.5.0 lib/svmkit/base/evaluator.rb
svmkit-0.4.1 lib/svmkit/base/evaluator.rb
svmkit-0.4.0 lib/svmkit/base/evaluator.rb
svmkit-0.3.3 lib/svmkit/base/evaluator.rb
svmkit-0.3.2 lib/svmkit/base/evaluator.rb
svmkit-0.3.1 lib/svmkit/base/evaluator.rb
svmkit-0.3.0 lib/svmkit/base/evaluator.rb
svmkit-0.2.9 lib/svmkit/base/evaluator.rb
svmkit-0.2.8 lib/svmkit/base/evaluator.rb
svmkit-0.2.7 lib/svmkit/base/evaluator.rb