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: 5f6b331b819d143dab0dd0956dce7fa6e4b5591676be0fa35432c8a79d1a06a0
4
- data.tar.gz: c0e2339723d300f69928ad2533f7b7afad138c5707b41a68267e2447d8c2f48d
3
+ metadata.gz: ca1169486b6833f4c0726f2b14ac0bb334a3755deaf32fc5531a0ec68cadb20c
4
+ data.tar.gz: 30485646508dad0d9424044ce3370010cdaec313d05d6e27b8053e78b9a4e953
5
5
  SHA512:
6
- metadata.gz: f9aaf497bec9f9be818e0972c6f5a10b7d0f11bcb487fa310768d31ae9f5102971d44cd9e89d148c254822b52095d586d52555c5f045e29b6af5f19aabeed0fd
7
- data.tar.gz: 9d1c402c9cb9e598d00ea524c3f19f540afa7cc25e5411f8aa28b27bbff8d2d708d7e8e1123d1ab0991b2d213e6f254fcda5f79f791a5da459a4d8d5366f6f0c
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}".to_sym if v.is_a?(String)
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}".to_sym
112
+ k = :"#{k}#{separator}#{v}"
113
113
  v = 1
114
114
  end
115
115
  z[i, @vocabulary[k]] = v if @vocabulary.key?(k)
@@ -5,6 +5,6 @@ module Rumale
5
5
  # This module consists of the classes that extract features from raw data.
6
6
  module FeatureExtraction
7
7
  # @!visibility private
8
- VERSION = '0.28.0'
8
+ VERSION = '0.28.1'
9
9
  end
10
10
  end
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.0
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-12 00:00:00.000000000 Z
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.0
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.0
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.20
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