rumale-feature_extraction 0.28.0 → 0.28.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca1169486b6833f4c0726f2b14ac0bb334a3755deaf32fc5531a0ec68cadb20c
|
4
|
+
data.tar.gz: 30485646508dad0d9424044ce3370010cdaec313d05d6e27b8053e78b9a4e953
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f03506d15c61d7d3eda8a93f477d9969154dedf88c96f586138905f3f3ebe6010220b6cf3422ad9243fc617f69cc9d144ba9ea5321ebba019b3c83241808ea0
|
7
|
+
data.tar.gz: a10c71b083464a4fafd202a87e9ba8110aa4d9232d6726ee17e5a4dbee5689925c6c24fa0dd1784ba73c45985f93b69d9a2b4fa83abbe1b4df82d7fec599efb3
|
@@ -71,7 +71,7 @@ module Rumale
|
|
71
71
|
|
72
72
|
x.each do |f|
|
73
73
|
f.each do |k, v|
|
74
|
-
k = "#{k}#{separator}#{v}"
|
74
|
+
k = :"#{k}#{separator}#{v}" if v.is_a?(String)
|
75
75
|
next if @vocabulary.key?(k)
|
76
76
|
|
77
77
|
@feature_names.push(k)
|
@@ -109,7 +109,7 @@ module Rumale
|
|
109
109
|
x.each_with_index do |f, i|
|
110
110
|
f.each do |k, v|
|
111
111
|
if v.is_a?(String)
|
112
|
-
k = "#{k}#{separator}#{v}"
|
112
|
+
k = :"#{k}#{separator}#{v}"
|
113
113
|
v = 1
|
114
114
|
end
|
115
115
|
z[i, @vocabulary[k]] = v if @vocabulary.key?(k)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rumale-feature_extraction
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.28.
|
4
|
+
version: 0.28.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- yoshoku
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mmh3
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.28.
|
47
|
+
version: 0.28.1
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.28.
|
54
|
+
version: 0.28.1
|
55
55
|
description: |
|
56
56
|
Rumale::FeatureExtraction provides feature extraction methods,
|
57
57
|
such as TF-IDF and feature hashing,
|
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
93
93
|
- !ruby/object:Gem::Version
|
94
94
|
version: '0'
|
95
95
|
requirements: []
|
96
|
-
rubygems_version: 3.4.
|
96
|
+
rubygems_version: 3.4.22
|
97
97
|
signing_key:
|
98
98
|
specification_version: 4
|
99
99
|
summary: Rumale::FeatureExtraction provides feature extraction methods with Rumale
|