rumale 0.14.4 → 0.14.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/rumale/linear_model/linear_regression.rb +1 -1
- data/lib/rumale/linear_model/ridge.rb +1 -1
- data/lib/rumale/linear_model/svc.rb +1 -1
- data/lib/rumale/linear_model/svr.rb +1 -1
- data/lib/rumale/polynomial_model/factorization_machine_regressor.rb +1 -1
- data/lib/rumale/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53beac1d67735cd6f03714c82bbd149379df845f
|
4
|
+
data.tar.gz: 303720c35bc1b14b720379abb6464812778398a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44e7893da77fcb9bcc245d096b69553b87bb740c160f879f7a1d8f00d30f1fc39f59831b17db6ff267772634cf356bceac5c5aa9f91792f0a6998938c60e2cb3
|
7
|
+
data.tar.gz: 21b3c761487805a31fc61d3570582892d02b97c3c14c01bf0813dd9893b79797a9092f1a9c8ecc47434fbff079a495897a8bf81109e026ac0c2a212615df7831
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
# 0.14.5
|
2
|
+
- Fix to suppress deprecation warning about keyword argument in Ruby 2.7.
|
3
|
+
|
1
4
|
# 0.14.4
|
2
5
|
- Add metric parameter that specifies distance metric to
|
3
6
|
[KNeighborsClassifier](https://yoshoku.github.io/rumale/doc/Rumale/NearestNeighbors/KNeighborsClassifier.html) and
|
@@ -62,7 +62,7 @@ module Rumale
|
|
62
62
|
check_params_positive(max_iter: max_iter, batch_size: batch_size)
|
63
63
|
keywd_args = method(:initialize).parameters.map { |_t, arg| [arg, binding.local_variable_get(arg)] }.to_h.merge(reg_param: 0.0)
|
64
64
|
keywd_args.delete(:solver)
|
65
|
-
super(keywd_args)
|
65
|
+
super(**keywd_args)
|
66
66
|
@params[:solver] = solver != 'svd' ? 'sgd' : 'svd'
|
67
67
|
end
|
68
68
|
|
@@ -63,7 +63,7 @@ module Rumale
|
|
63
63
|
check_params_positive(reg_param: reg_param, max_iter: max_iter, batch_size: batch_size)
|
64
64
|
keywd_args = method(:initialize).parameters.map { |_t, arg| [arg, binding.local_variable_get(arg)] }.to_h
|
65
65
|
keywd_args.delete(:solver)
|
66
|
-
super(keywd_args)
|
66
|
+
super(**keywd_args)
|
67
67
|
@params[:solver] = solver != 'svd' ? 'sgd' : 'svd'
|
68
68
|
end
|
69
69
|
|
@@ -65,7 +65,7 @@ module Rumale
|
|
65
65
|
check_params_positive(reg_param: reg_param, bias_scale: bias_scale, max_iter: max_iter, batch_size: batch_size)
|
66
66
|
keywd_args = method(:initialize).parameters.map { |_t, arg| [arg, binding.local_variable_get(arg)] }.to_h
|
67
67
|
keywd_args.delete(:probability)
|
68
|
-
super(keywd_args)
|
68
|
+
super(**keywd_args)
|
69
69
|
@params[:probability] = probability
|
70
70
|
@prob_param = nil
|
71
71
|
@classes = nil
|
@@ -59,7 +59,7 @@ module Rumale
|
|
59
59
|
max_iter: max_iter, batch_size: batch_size)
|
60
60
|
keywd_args = method(:initialize).parameters.map { |_t, arg| [arg, binding.local_variable_get(arg)] }.to_h
|
61
61
|
keywd_args.delete(:epsilon)
|
62
|
-
super(keywd_args)
|
62
|
+
super(**keywd_args)
|
63
63
|
@params[:epsilon] = epsilon
|
64
64
|
end
|
65
65
|
|
@@ -60,7 +60,7 @@ module Rumale
|
|
60
60
|
check_params_positive(n_factors: n_factors, reg_param_linear: reg_param_linear, reg_param_factor: reg_param_factor,
|
61
61
|
max_iter: max_iter, batch_size: batch_size)
|
62
62
|
keywd_args = method(:initialize).parameters.map { |_t, arg| [arg, binding.local_variable_get(arg)] }.to_h.merge(loss: nil)
|
63
|
-
super(keywd_args)
|
63
|
+
super(**keywd_args)
|
64
64
|
end
|
65
65
|
|
66
66
|
# Fit the model with given training data.
|
data/lib/rumale/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rumale
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.14.
|
4
|
+
version: 0.14.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- yoshoku
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-12-
|
11
|
+
date: 2019-12-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: numo-narray
|