easy_ml 0.2.0.pre.rc82 → 0.2.0.pre.rc83

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: ce245d6900c4c5c001c0de9982894ccf6b41faef31e8c958dc540ef05fe426e4
4
- data.tar.gz: a120f14076a9ff83ca6afb8b0bd651b9ea9ed0185d42f23b82f5de6b2a4de831
3
+ metadata.gz: 2d5a13f7e4d772c20491b6c8c1ffd52674e0e29972ead72409904118fdc33035
4
+ data.tar.gz: 56f66ab6a77dbadb6512e92fe1cf4651419ad46c7b2be42c12ea219e70f7991b
5
5
  SHA512:
6
- metadata.gz: db2b7292bf07b5122a7949a111c56a25f8848496eaadfc94f101a271054fd4c21d401b4c941f69d7579c8cdc9887e68c4105f11720dba13aa7fd0fcdafb79b81
7
- data.tar.gz: f5dc8ffee52fb67b6cda8e4462e540900d528dd9c15ff49faa8ca45f21f9e4968129b996a5018a91801aae431a65b5274d64e69045e5feeeec6f12f09900cda3
6
+ metadata.gz: 53fdbb0198863035ba8ac69b36936ce20a5d7a3fe057f13f8cb95e67e437f31ff5606e8f976a71f9d7772a788ce986c6e0afb61c5a76ef2eac5163e736144d9d
7
+ data.tar.gz: cbfc250d20481840fe45342df010e9f2a1adb8fe10d963a068d127d784e6b20e72c4ae7b99d8ece5b71c7e32a1ace81bb6d71c10f1a3ad019b7ec987ef891dd0
@@ -10,13 +10,13 @@ module EasyML
10
10
 
11
11
  @last_activity = Time.current
12
12
  setup_signal_traps
13
- # @monitor_thread = start_monitor_thread
13
+ @monitor_thread = start_monitor_thread
14
14
 
15
15
  @model.actually_train do |iteration_info|
16
16
  @last_activity = Time.current
17
17
  end
18
18
  ensure
19
- # @monitor_thread&.exit
19
+ @monitor_thread&.exit
20
20
  @model.unlock!
21
21
  end
22
22
 
@@ -34,6 +34,7 @@ module EasyML
34
34
  def compute_sha(feature_class)
35
35
  require "digest"
36
36
  path = feature_class.constantize.instance_method(:transform).source_location.first
37
+ return nil unless File.exist?(path)
37
38
  current_mtime = File.mtime(path)
38
39
  cache_key = "feature_sha/#{path}"
39
40
 
@@ -95,7 +95,7 @@ module EasyML
95
95
  keylist = unique_id_key(subdir: "keylist")
96
96
 
97
97
  acquire_lock(keylist) do |suo|
98
- suo.client.sadd?(keylist, key)
98
+ suo.client.sadd(keylist, key)
99
99
  end
100
100
  end
101
101
 
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EasyML
4
- VERSION = "0.2.0-rc82"
4
+ VERSION = "0.2.0-rc83"
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.rc82
4
+ version: 0.2.0.pre.rc83
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Shollenberger