rumale-tree 1.0.0 → 2.0.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7dec4a4d7c400061521ea55dc38705ae9ba941cb42878c4c5c07ff658ba9753
|
4
|
+
data.tar.gz: 59ef2c796ce729a600e6322c93b0d6d4988b9813a76fbe30750454d17686dff6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c81f1b2ea5903c0112460b66be9d019a6da66a62e19703e7f42087432e6e26458ebffaa6ad71a928ce78c50778ef87730d8930372c928a3aeb4159ee57c278b8
|
7
|
+
data.tar.gz: a5eaef78778308c04107f77959c437cbdd0cbd5a7335281de4058353978d624470ce091470527f5771101075113fe392e78477c4e97c3a0a241ba6adacc0525d
|
@@ -43,7 +43,7 @@ module Rumale
|
|
43
43
|
def apply(x)
|
44
44
|
x = ::Rumale::Validation.check_convert_sample_array(x)
|
45
45
|
|
46
|
-
Numo::Int32[*
|
46
|
+
Numo::Int32[*Array.new(x.shape[0]) { |n| partial_apply(@tree, x[n, true]) }]
|
47
47
|
end
|
48
48
|
|
49
49
|
private
|
@@ -100,7 +100,7 @@ module Rumale
|
|
100
100
|
def predict_proba(x)
|
101
101
|
x = ::Rumale::Validation.check_convert_sample_array(x)
|
102
102
|
|
103
|
-
Numo::DFloat[*
|
103
|
+
Numo::DFloat[*Array.new(x.shape[0]) { |n| partial_predict_proba(@tree, x[n, true]) }]
|
104
104
|
end
|
105
105
|
|
106
106
|
private
|
@@ -106,7 +106,7 @@ module Rumale
|
|
106
106
|
def apply(x)
|
107
107
|
x = ::Rumale::Validation.check_convert_sample_array(x)
|
108
108
|
|
109
|
-
Numo::Int32[*
|
109
|
+
Numo::Int32[*Array.new(x.shape[0]) { |n| partial_apply(@tree, x[n, true]) }]
|
110
110
|
end
|
111
111
|
|
112
112
|
private
|
data/lib/rumale/tree/version.rb
CHANGED
metadata
CHANGED
@@ -1,42 +1,42 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rumale-tree
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- yoshoku
|
8
8
|
bindir: exe
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
|
-
name: numo-narray
|
13
|
+
name: numo-narray-alt
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
15
15
|
requirements:
|
16
|
-
- - "
|
16
|
+
- - "~>"
|
17
17
|
- !ruby/object:Gem::Version
|
18
|
-
version: 0.9.
|
18
|
+
version: 0.9.4
|
19
19
|
type: :runtime
|
20
20
|
prerelease: false
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
22
22
|
requirements:
|
23
|
-
- - "
|
23
|
+
- - "~>"
|
24
24
|
- !ruby/object:Gem::Version
|
25
|
-
version: 0.9.
|
25
|
+
version: 0.9.4
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: rumale-core
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
29
29
|
requirements:
|
30
30
|
- - "~>"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
32
|
+
version: 2.0.0
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
35
|
version_requirements: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version:
|
39
|
+
version: 2.0.0
|
40
40
|
description: Rumale::Tree provides classifier and regression based on decision tree
|
41
41
|
algorithms with Rumale interface.
|
42
42
|
email:
|
@@ -85,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
85
85
|
- !ruby/object:Gem::Version
|
86
86
|
version: '0'
|
87
87
|
requirements: []
|
88
|
-
rubygems_version: 3.6.
|
88
|
+
rubygems_version: 3.6.9
|
89
89
|
specification_version: 4
|
90
90
|
summary: Rumale::Tree provides classifier and regression based on decision tree algorithms
|
91
91
|
with Rumale interface.
|