Sha256: fc9314d728756753b3740bc0de1b0b64993a95d6dfcc1c992771ebc806f6ddb3

Contents?: true

Size: 701 Bytes

Versions: 3

Compression:

Stored size: 701 Bytes

Contents

require "carrierwave"
require_relative "model_core"
require_relative "uploaders/model_uploader"

module EasyML
  module Core
    class Model
      include GlueGun::DSL

      attribute :name, :string
      attribute :version, :string
      attribute :verbose, :boolean, default: false
      attribute :task, :string, default: "regression"
      attribute :metrics, :array
      attribute :ml_model, :string
      attribute :file, :string
      attribute :root_dir, :string
      attribute :objective
      attribute :evaluator
      attribute :evaluator_metric

      include EasyML::Core::ModelCore

      def initialize(options = {})
        super
        apply_defaults
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
easy_ml-0.1.4 lib/easy_ml/core/model.rb
easy_ml-0.1.3 lib/easy_ml/core/model.rb
easy_ml-0.1.2 lib/easy_ml/core/model.rb