Sha256: 0e7ad118f3e3be58939cacd06e6c942d7e8b8a8ca6d102697d9d23c819faa635

Contents?: true

Size: 289 Bytes

Versions: 2

Compression:

Stored size: 289 Bytes

Contents

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

2 entries across 2 versions & 1 rubygems

Version Path
svmkit-0.2.5 lib/svmkit/base/evaluator.rb
svmkit-0.2.4 lib/svmkit/base/evaluator.rb