Sha256: 4d4426c9fd12d4474216aadbe5b51d67d8e02f1b169653f465d61c5de7407bd2

Contents?: true

Size: 342 Bytes

Versions: 7

Compression:

Stored size: 342 Bytes

Contents

# frozen_string_literal: true

require 'numo/narray'

module Rumale
  module Base
    # Module for all evaluation measures in Rumale.
    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

7 entries across 7 versions & 1 rubygems

Version Path
rumale-core-0.29.0 lib/rumale/base/evaluator.rb
rumale-core-0.28.1 lib/rumale/base/evaluator.rb
rumale-core-0.28.0 lib/rumale/base/evaluator.rb
rumale-core-0.27.0 lib/rumale/base/evaluator.rb
rumale-core-0.26.0 lib/rumale/base/evaluator.rb
rumale-core-0.25.0 lib/rumale/base/evaluator.rb
rumale-core-0.24.0 lib/rumale/base/evaluator.rb