red-optuna 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/text/news.md +11 -0
- data/example/rumale-simple.rb +1 -1
- data/lib/optuna.rb +1 -1
- data/lib/optuna/version.rb +1 -1
- data/red-optuna.gemspec +2 -1
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f437c64f0496197b4baefea7be153184fd12e7a480c474616be0c7e270de809c
|
4
|
+
data.tar.gz: bb0b2a5334c8769da1cda42e1bd0b686d7531a2d952085ba411d5bf827bed44f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9845de4dc00a4d32e1c457c2f8e58cf85807591f8260ea54b45d78bbe408d34e17d3e8867c79a7465e509927ef01492107124452ff756022e1d2dec440f9788
|
7
|
+
data.tar.gz: 931d788fb97d38859791bf559f1c73fb8d19e3dccb5ec0b48ef357ffc832a2ce2ba2829364b069fa2c42a59749987717533b7a4c90782e900d296dbc1333f14d
|
data/doc/text/news.md
ADDED
data/example/rumale-simple.rb
CHANGED
@@ -17,7 +17,7 @@ study.optimize(n_trials: 100) do |trial|
|
|
17
17
|
["SVC", "RandomForest"])
|
18
18
|
if classifier_name == "SVC"
|
19
19
|
svc_regulation = trial.suggest_uniform("svc_regulation", 0.0, 1.0)
|
20
|
-
classifier = Rumale::LinearModel::SVC.new(reg_param: svc_regulation
|
20
|
+
classifier = Rumale::LinearModel::SVC.new(reg_param: svc_regulation)
|
21
21
|
else
|
22
22
|
rf_max_depth = trial.suggest_loguniform("rf_max_depth", 2, 32).to_i
|
23
23
|
classifier = Rumale::Ensemble::RandomForestClassifier.new(max_depth: rf_max_depth)
|
data/lib/optuna.rb
CHANGED
data/lib/optuna/version.rb
CHANGED
data/red-optuna.gemspec
CHANGED
@@ -29,9 +29,10 @@ Gem::Specification.new do |spec|
|
|
29
29
|
"#{spec.name}.gemspec",
|
30
30
|
]
|
31
31
|
spec.files += Dir.glob("lib/**/*.rb")
|
32
|
+
spec.files += Dir.glob("doc/text/*")
|
32
33
|
spec.files += Dir.glob("example/**/*.rb")
|
33
34
|
|
34
|
-
spec.add_runtime_dependency("
|
35
|
+
spec.add_runtime_dependency("numpy", ">= 0.2.0")
|
35
36
|
|
36
37
|
spec.add_development_dependency("bundler")
|
37
38
|
spec.add_development_dependency("rake")
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: red-optuna
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-04-
|
11
|
+
date: 2019-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: numpy
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.2.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 0.2.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -93,6 +93,7 @@ files:
|
|
93
93
|
- LICENSE.txt
|
94
94
|
- README.md
|
95
95
|
- Rakefile
|
96
|
+
- doc/text/news.md
|
96
97
|
- example/rumale-simple.rb
|
97
98
|
- lib/optuna.rb
|
98
99
|
- lib/optuna/version.rb
|