rbmnist 0.1.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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 6090901ee5fd4ae17ef267126a87050efed6640bbaeed1e2b62ad268289ccd77
4
+ data.tar.gz: 8bb67f9b366c8ca1681b1bda324d8b4a9da41387fd6becb6026c61a90c081a88
5
+ SHA512:
6
+ metadata.gz: e4d16ab6550b4e7c08ff4ab85f6c3d4ef2f0bd795ac5793282cddb7a5f2d98d41c1d9e4ef663a0b21fa42977d714f503d01781e373e9bd96fc92610c1d0dca1c
7
+ data.tar.gz: 718989ce91cd2df3caf9e4fd64e72044b0b1bff4fafe8e448474879c6444e9209dde88ccc604aaffb0e5cb428b191114beb2401845477414d4124a7475c3ac74
@@ -0,0 +1,12 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
12
+ *.png
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
@@ -0,0 +1,6 @@
1
+ ---
2
+ language: ruby
3
+ cache: bundler
4
+ rvm:
5
+ - 2.7.1
6
+ before_install: gem install bundler -v 2.1.4
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at micah.shute@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [https://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: https://contributor-covenant.org
74
+ [version]: https://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,15 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in rbmnist.gemspec
4
+ gemspec
5
+
6
+ gem "rake", "~> 12.0"
7
+ gem "rspec", "~> 3.0"
8
+
9
+ gem "byteman", "~> 0.1.1"
10
+
11
+ gem "rbimg", "~> 0.1.4"
12
+
13
+ gem "pry", "~> 0.13.1", group: :development
14
+
15
+ gem "gspec", "~> 0.1.3", group: :development
@@ -0,0 +1,49 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ rbmnist (0.1.0)
5
+ byteman
6
+ rbimg
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ byteman (0.1.1)
12
+ coderay (1.1.3)
13
+ diff-lcs (1.4.4)
14
+ gspec (0.1.3)
15
+ method_source (1.0.0)
16
+ pry (0.13.1)
17
+ coderay (~> 1.1)
18
+ method_source (~> 1.0)
19
+ rake (12.3.3)
20
+ rbimg (0.1.4)
21
+ byteman (~> 0.1.0)
22
+ rspec (3.9.0)
23
+ rspec-core (~> 3.9.0)
24
+ rspec-expectations (~> 3.9.0)
25
+ rspec-mocks (~> 3.9.0)
26
+ rspec-core (3.9.2)
27
+ rspec-support (~> 3.9.3)
28
+ rspec-expectations (3.9.2)
29
+ diff-lcs (>= 1.2.0, < 2.0)
30
+ rspec-support (~> 3.9.0)
31
+ rspec-mocks (3.9.1)
32
+ diff-lcs (>= 1.2.0, < 2.0)
33
+ rspec-support (~> 3.9.0)
34
+ rspec-support (3.9.3)
35
+
36
+ PLATFORMS
37
+ ruby
38
+
39
+ DEPENDENCIES
40
+ byteman (~> 0.1.1)
41
+ gspec (~> 0.1.3)
42
+ pry (~> 0.13.1)
43
+ rake (~> 12.0)
44
+ rbimg (~> 0.1.4)
45
+ rbmnist!
46
+ rspec (~> 3.0)
47
+
48
+ BUNDLED WITH
49
+ 2.1.4
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020 micahshute
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,113 @@
1
+ # Rbmnist
2
+
3
+ Quick, easy way to get MNIST data in ruby without downlaoding, unzipping, and processing it yourself.
4
+
5
+ The Train set has 60000 images in it with associated labels. The test set has 10000 images in it with associated labels.
6
+ The first 5000 images of the test set are clearer than the last 5000, and can be accessed simply (see below)
7
+
8
+ Allows access to image pixel data, and easy visualization (see examples and below).
9
+
10
+ Supports lazy loading.
11
+
12
+ Images are wrapped in an Rbmnist::ImageWrapper object, which mirrors many array methods ([], []=, each, and map).
13
+ The raw pixel array can be retreived via #data and #pixel
14
+
15
+ Labels are simply an array of integers
16
+
17
+ To load:
18
+ ```ruby
19
+ Rbmnist::MNIST.load # Load everything
20
+ Rbmnist::MNIST.load_test # Load just test images and labels
21
+ Rbmnist::MNIST.load_train # Load just the train images and labels
22
+ ```
23
+ Otherwise, the applicable data will be loaded when it is accessed:
24
+
25
+ ```ruby
26
+ Rbmnist::MNIST::Test.images # this will load only the test images and then return them as an array of Rbmnist::ImageWrapper objects
27
+ Rbmnist::MNIST::Train.labels # this will load only the train labels and return them as an array of integers
28
+ ```
29
+
30
+ Basic usage:
31
+
32
+ ```ruby
33
+ #Can load everything or lazy load when you need it, like above
34
+ require 'rbmnist'
35
+
36
+ Rbmnist::MNIST.load
37
+
38
+ train_imgs = Rbmnist::MNIST::Train.images
39
+ train_labels = Rbmnist::MNIST::Train.labels
40
+
41
+ test_imgs = Rbmnist::MNIST::Test.images
42
+ test_labels = Rbmnist::MNIST::Test.labels
43
+
44
+ clean_test_images = Rbmnist::MNIST::Test.clean_images # the first 5000 images from the Test data is cleaner
45
+ clean_test_labels = Rbmnist::MNIST::Test.clean_labels # Note that clean_images and clean_labels use the #images and #labels methods, so they lazy load as well
46
+
47
+
48
+ # Images are Rbmnist::ImageWrapper objects. You can operate on their pixels directly or use methods to alter your data type
49
+
50
+ #Direct manipulation
51
+
52
+ train_img = train_imgs.first
53
+ first_20_pixels = train_img[0...20]
54
+ train_img.each do |pixel|
55
+ # do something to each pixel
56
+ end
57
+
58
+ train_img.map do |pixel|
59
+ # map each pixel
60
+ end
61
+
62
+ # Turn ImageWrapper into an array or a PNG:
63
+
64
+ img_pixel_array = train_img.to_a # or train_img.pixels or train_img.data
65
+
66
+ img_pixel_2d_array = train_img.to_a_2d # returns 2d array representing the rows/columns of pixels in image
67
+
68
+ png = train_img.to_png
69
+ png.write(path: "./my_mnst_img")
70
+
71
+ puts "The image my_mnst_img.png should be a #{train_labels.first}"
72
+
73
+ ```
74
+
75
+
76
+
77
+
78
+
79
+ ## Installation
80
+
81
+ Add this line to your application's Gemfile:
82
+
83
+ ```ruby
84
+ gem 'rbmnist'
85
+ ```
86
+
87
+ And then execute:
88
+
89
+ $ bundle install
90
+
91
+ Or install it yourself as:
92
+
93
+ $ gem install rbmnist
94
+
95
+
96
+ ## Development
97
+
98
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
99
+
100
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
101
+
102
+ ## Contributing
103
+
104
+ Bug reports and pull requests are welcome on GitHub at https://github.com/micahshute/rbmnist. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/micahshute/rbmnist/blob/master/CODE_OF_CONDUCT.md).
105
+
106
+
107
+ ## License
108
+
109
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
110
+
111
+ ## Code of Conduct
112
+
113
+ Everyone interacting in the Rbmnist project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/rbmnist/blob/master/CODE_OF_CONDUCT.md).
@@ -0,0 +1,16 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ spec = Gem::Specification.find_by_name 'gspec'
5
+ load "#{spec.gem_dir}/lib/gspec/tasks/generator.rake"
6
+
7
+ RSpec::Core::RakeTask.new(:spec)
8
+
9
+ task :default => :spec
10
+
11
+
12
+ task :console do
13
+ require 'pry'
14
+ require_relative './lib/rbmnist'
15
+ Pry.start
16
+ end
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "rbmnist"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,6 @@
1
+ require './lib/rbmnist'
2
+
3
+ Rbmnist::MNIST.load_test
4
+ Rbmnist::MNIST::Test.images.take(5).map(&:to_png).each.with_index do |png, i|
5
+ png.write(path: "./mnist-#{i}")
6
+ end
@@ -0,0 +1,8 @@
1
+ module Rbmnist::Unzippable
2
+
3
+ def unzip_from_path(path)
4
+ unzipped_enum = Zlib::GzipReader.new(File.open(path))
5
+ unzipped_enum.each_byte.to_a
6
+ end
7
+
8
+ end
@@ -0,0 +1,13 @@
1
+ require_relative "./rbmnist/version"
2
+
3
+ require 'byteman'
4
+ require 'rbimg'
5
+ require 'zlib'
6
+
7
+ module Rbmnist
8
+
9
+ end
10
+
11
+ require_relative './concerns/unzippable'
12
+ require_relative './rbmnist/image_wrapper'
13
+ require_relative './rbmnist/mnist'
@@ -0,0 +1,47 @@
1
+ class Rbmnist::ImageWrapper
2
+
3
+ WIDTH = 28
4
+ HEIGHT = 28
5
+
6
+ attr_reader :data
7
+
8
+ def initialize(data)
9
+ @data = data
10
+ end
11
+
12
+ def pixels
13
+ @data
14
+ end
15
+
16
+ def to_a
17
+ return data
18
+ end
19
+
20
+ def [](arg)
21
+ @data[arg]
22
+ end
23
+
24
+ def []=(val, newval)
25
+ @data[val] = newval
26
+ end
27
+
28
+ def each(&block)
29
+ @data.each(&block)
30
+ end
31
+
32
+ def map(&block)
33
+ @data.map(&block)
34
+ end
35
+
36
+ def to_a_2d
37
+ Array.new(HEIGHT) do |row|
38
+ rowstart = row * WIDTH
39
+ rowend = rowstart + WIDTH
40
+ @data[rowstart...rowend]
41
+ end
42
+ end
43
+
44
+ def to_png
45
+ Rbimg::PNG.new(pixels: @data, type: :greyscale, width: WIDTH, height: HEIGHT)
46
+ end
47
+ end
@@ -0,0 +1,97 @@
1
+ class Rbmnist::MNIST
2
+
3
+
4
+ def self.load
5
+ load_test
6
+ load_train
7
+ end
8
+
9
+ def self.load_test
10
+ Test.images
11
+ Test.labels
12
+ nil
13
+ end
14
+
15
+ def self.load_train
16
+ Train.images
17
+ Train.labels
18
+ nil
19
+ end
20
+
21
+
22
+
23
+ class Test
24
+
25
+ IMAGE_COUNT = 10000
26
+ CLEAN_IMAGE_COUNT = 5000
27
+
28
+ extend Rbmnist::Unzippable
29
+
30
+ @@images = []
31
+ @@labels = []
32
+
33
+ def self.images
34
+ if @@images.length == 0
35
+ img_bytes = unzip_from_path(__dir__ + '/../../data/t10k-images-idx3-ubyte.gz')
36
+ curr_byte = 16
37
+ @@images = Array.new(IMAGE_COUNT) do |pic|
38
+ Rbmnist::ImageWrapper.new(img_bytes[curr_byte...(curr_byte += 784)])
39
+ end
40
+ end
41
+ @@images
42
+ end
43
+
44
+ def self.clean_images
45
+ images[0...CLEAN_IMAGE_COUNT]
46
+ end
47
+
48
+ def self.clean_labels
49
+ labels[0...CLEAN_IMAGE_COUNT]
50
+ end
51
+
52
+ def self.labels
53
+ if @@labels.length == 0
54
+ label_bytes = unzip_from_path(__dir__ + '/../../data/t10k-labels-idx1-ubyte.gz')
55
+ curr_byte = 8
56
+ @@labels = Array.new(IMAGE_COUNT) do |label|
57
+ label_bytes[curr_byte...(curr_byte += 1)].first
58
+ end
59
+ end
60
+ @@labels
61
+ end
62
+ end
63
+
64
+ class Train
65
+
66
+ IMAGE_COUNT = 60000
67
+ extend Rbmnist::Unzippable
68
+
69
+ @@images = []
70
+ @@labels = []
71
+
72
+ def self.images
73
+ if @@images.length == 0
74
+ img_bytes = unzip_from_path(__dir__ + '/../../data/train-images-idx3-ubyte.gz')
75
+ curr_byte = 16
76
+ @@images = Array.new(IMAGE_COUNT) do |pic|
77
+ Rbmnist::ImageWrapper.new(img_bytes[curr_byte...(curr_byte += 784)])
78
+ end
79
+ end
80
+ @@images
81
+ end
82
+
83
+ def self.labels
84
+ if @@labels.length == 0
85
+ label_bytes = unzip_from_path(__dir__ + '/../../data/train-labels-idx1-ubyte.gz')
86
+ curr_byte = 8
87
+ @@labels = Array.new(IMAGE_COUNT) do |label|
88
+ label_bytes[curr_byte...(curr_byte += 1)].first
89
+ end
90
+ end
91
+ @@labels
92
+ end
93
+
94
+
95
+ end
96
+
97
+ end
@@ -0,0 +1,3 @@
1
+ module Rbmnist
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,31 @@
1
+ require_relative 'lib/rbmnist/version'
2
+
3
+ Gem::Specification.new do |spec|
4
+ spec.name = "rbmnist"
5
+ spec.version = Rbmnist::VERSION
6
+ spec.authors = ["micahshute"]
7
+ spec.email = ["micah.shute@gmail.com"]
8
+
9
+ spec.summary = %q{Easy access to MNIST data to manipulate}
10
+ spec.description = %q{No network calls, manipulate MNIST data easily. Divided up into train and test, and able to write the images as PNG files}
11
+ spec.homepage = "https://github.com/micahshute/rbmnist"
12
+ spec.license = "MIT"
13
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
14
+
15
+ # spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
16
+
17
+ spec.metadata["homepage_uri"] = spec.homepage
18
+ spec.metadata["source_code_uri"] = spec.homepage
19
+ spec.metadata["changelog_uri"] = spec.homepage
20
+
21
+ # Specify which files should be added to the gem when it is released.
22
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
23
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
24
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
25
+ end
26
+ spec.bindir = "exe"
27
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
+ spec.require_paths = ["lib"]
29
+ spec.add_dependency('byteman')
30
+ spec.add_dependency('rbimg')
31
+ end
metadata ADDED
@@ -0,0 +1,97 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rbmnist
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - micahshute
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2020-07-26 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: byteman
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rbimg
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description: No network calls, manipulate MNIST data easily. Divided up into train
42
+ and test, and able to write the images as PNG files
43
+ email:
44
+ - micah.shute@gmail.com
45
+ executables: []
46
+ extensions: []
47
+ extra_rdoc_files: []
48
+ files:
49
+ - ".gitignore"
50
+ - ".rspec"
51
+ - ".travis.yml"
52
+ - CODE_OF_CONDUCT.md
53
+ - Gemfile
54
+ - Gemfile.lock
55
+ - LICENSE.txt
56
+ - README.md
57
+ - Rakefile
58
+ - bin/console
59
+ - bin/setup
60
+ - data/t10k-images-idx3-ubyte.gz
61
+ - data/t10k-labels-idx1-ubyte.gz
62
+ - data/train-images-idx3-ubyte.gz
63
+ - data/train-labels-idx1-ubyte.gz
64
+ - examples/make_images.rb
65
+ - lib/concerns/unzippable.rb
66
+ - lib/rbmnist.rb
67
+ - lib/rbmnist/image_wrapper.rb
68
+ - lib/rbmnist/mnist.rb
69
+ - lib/rbmnist/version.rb
70
+ - rbmnist.gemspec
71
+ homepage: https://github.com/micahshute/rbmnist
72
+ licenses:
73
+ - MIT
74
+ metadata:
75
+ homepage_uri: https://github.com/micahshute/rbmnist
76
+ source_code_uri: https://github.com/micahshute/rbmnist
77
+ changelog_uri: https://github.com/micahshute/rbmnist
78
+ post_install_message:
79
+ rdoc_options: []
80
+ require_paths:
81
+ - lib
82
+ required_ruby_version: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ version: 2.3.0
87
+ required_rubygems_version: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - ">="
90
+ - !ruby/object:Gem::Version
91
+ version: '0'
92
+ requirements: []
93
+ rubygems_version: 3.1.2
94
+ signing_key:
95
+ specification_version: 4
96
+ summary: Easy access to MNIST data to manipulate
97
+ test_files: []