easy_ml 0.2.0.pre.rc4 → 0.2.0.pre.rc6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0367d12137f6d3506e60e1f4a69546abdbf8524bef6c205754eddf30abb69c94
4
- data.tar.gz: 05334be9021a5c0bd5cc372a981e9146632b2c4a9811329256de7b7f22db1cbf
3
+ metadata.gz: 1f7575de661babb9fecdf0bf9512bc9083a2cfdb070365e1cb18340750477d54
4
+ data.tar.gz: d9ec1b60da75422ae4cb759fa35cc53476339e3897a7a8862f27aba615080144
5
5
  SHA512:
6
- metadata.gz: 1d47d5b96a8e6a065912d13377594658613b5f63eef936e1d0b7b89f2227c146ebd718604b983e1aba1dc6f2783a50b6815173e876f5acbf23d7f2db111d224b
7
- data.tar.gz: c52f6bf90857fcf57753f04904f34cf73dd3fd4559dee14a6d32aae4b8a91b2a077380a16f85a10b97693d9e48b6ebf52f67e61114ca79f3eea7aae0ef81176f
6
+ metadata.gz: 652bdbc6a201da2c09185856c7eb2cc64c39cb4d61a25bf05e7f23acfed20eec0943573757848f9de6d34563308d8e3283001b1dace42e31cd80617cc52140ca
7
+ data.tar.gz: c5f1d9b19c1842cfec629410bf3703ef5ce6b748e18f04602c7cf53f08970f5680dc808a0352437510c7e1f36365ec81ad9fc3d5d92a8f0b614e24b6385a7b7e
@@ -1,15 +1,13 @@
1
1
  module EasyML
2
- module Jobs
3
- class FinalizeFeatureJob < ApplicationJob
4
- queue_as :features
2
+ class FinalizeFeatureJob < ApplicationJob
3
+ queue_as :features
5
4
 
6
- def perform(feature_id)
7
- feature = EasyML::Feature.find(feature_id)
8
- feature.update!(
9
- applied_at: Time.current,
10
- needs_fit: false,
11
- )
12
- end
5
+ def perform(feature_id)
6
+ feature = EasyML::Feature.find(feature_id)
7
+ feature.update!(
8
+ applied_at: Time.current,
9
+ needs_fit: false,
10
+ )
13
11
  end
14
12
  end
15
13
  end
@@ -14,6 +14,7 @@ require "xgb"
14
14
  require "rails/engine"
15
15
  require "activerecord-import"
16
16
  require "historiographer"
17
+ require "resque-batched-job"
17
18
 
18
19
  module EasyML
19
20
  class Engine < Rails::Engine
@@ -33,8 +34,9 @@ module EasyML
33
34
  config.eager_load_paths += [
34
35
  root.join("app/models"),
35
36
  root.join("app/models/datasources"),
36
- root.join("app/models/models"),
37
- root.join("lib/easy_ml"),
37
+ root.join("app/models"),
38
+ root.join("app/models/**/"),
39
+ root.join("lib/easy_ml/**/*"),
38
40
  ]
39
41
 
40
42
  initializer "easy_ml.inflections" do
@@ -84,15 +86,6 @@ module EasyML
84
86
  urls: ["/easy_ml/assets"],
85
87
  root: EasyML::Engine.root.join("public"),
86
88
  )
87
- # delegate :vite_ruby, to: :class
88
-
89
- # def self.vite_ruby
90
- # @vite_ruby ||= ViteRuby.new(root: EasyML::Engine.root)
91
- # end
92
-
93
- # config.app_middleware.use(Rack::Static,
94
- # urls: ["/#{vite_ruby.config.public_output_dir}"],
95
- # root: root.join(vite_ruby.config.public_dir))
96
89
 
97
90
  def list_routes
98
91
  EasyML::Engine.routes.routes.map { |r| "#{r.name} #{r.path.spec}" }
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EasyML
4
- VERSION = "0.2.0-rc4"
4
+ VERSION = "0.2.0-rc6"
5
5
 
6
6
  module Version
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easy_ml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.pre.rc4
4
+ version: 0.2.0.pre.rc6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Shollenberger
@@ -562,13 +562,13 @@ files:
562
562
  - app/models/easy_ml/retraining_run.rb
563
563
  - app/models/easy_ml/settings.rb
564
564
  - app/models/easy_ml/splitter.rb
565
+ - app/models/easy_ml/splitter_history.rb
565
566
  - app/models/easy_ml/splitters/base_splitter.rb
566
567
  - app/models/easy_ml/splitters/date_splitter.rb
567
568
  - app/models/easy_ml/splitters/predefined_splitter.rb
568
569
  - app/models/easy_ml/splitters/random_splitter.rb
569
570
  - app/models/easy_ml/tuner_job.rb
570
571
  - app/models/easy_ml/tuner_run.rb
571
- - app/models/splitter_history.rb
572
572
  - app/serializers/easy_ml/column_serializer.rb
573
573
  - app/serializers/easy_ml/dataset_serializer.rb
574
574
  - app/serializers/easy_ml/datasource_serializer.rb