gym-mnist-pair | OpenAI Gym Enviroment for Matching MNIST Pairs
kandi X-RAY | gym-mnist-pair Summary
kandi X-RAY | gym-mnist-pair Summary
gym-mnist-pair is a Python library. gym-mnist-pair has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can download it from GitHub.
The goal of this gym environment is to provide a minimal setting for reinforcement learning in the context of image matching. The environment consists of a pair of mnist digits against a zero background. The dimension of each image is 40-by-40, mnist digits are standard 28-by-28 pixels. The location of each mnist digit is uniformly random and independent. In addition to pixel data, the environment also implements a pair of 28-by-28 windows. Each window is overlayed on one of the images. The state of the agent in the environment is simply the location of the upper left corner of these windows. Since there are 40-28+1=13 places where the corner can be along each dimension, the environment spans 169 distinct states. At each step, the agent can perform the following actions for each window: "do nothing", or "move {right, up, left, down}". Given that there are two windows, the agent can perform a total of 5*5 = 25 different actions at each step.
The goal of this gym environment is to provide a minimal setting for reinforcement learning in the context of image matching. The environment consists of a pair of mnist digits against a zero background. The dimension of each image is 40-by-40, mnist digits are standard 28-by-28 pixels. The location of each mnist digit is uniformly random and independent. In addition to pixel data, the environment also implements a pair of 28-by-28 windows. Each window is overlayed on one of the images. The state of the agent in the environment is simply the location of the upper left corner of these windows. Since there are 40-28+1=13 places where the corner can be along each dimension, the environment spans 169 distinct states. At each step, the agent can perform the following actions for each window: "do nothing", or "move {right, up, left, down}". Given that there are two windows, the agent can perform a total of 5*5 = 25 different actions at each step.
Support
Quality
Security
License
Reuse
Support
gym-mnist-pair has a low active ecosystem.
It has 0 star(s) with 0 fork(s). There are 1 watchers for this library.
It had no major release in the last 6 months.
gym-mnist-pair has no issues reported. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of gym-mnist-pair is current.
Quality
gym-mnist-pair has 0 bugs and 0 code smells.
Security
gym-mnist-pair has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
gym-mnist-pair code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
gym-mnist-pair is licensed under the MIT License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
gym-mnist-pair releases are not available. You will need to build from source code and install.
Build file is available. You can build the component from source.
Installation instructions, examples and code snippets are available.
It has 126 lines of code, 8 functions and 4 files.
It has high code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA
kandi has reviewed gym-mnist-pair and discovered the below as its top functions. This is intended to give you an instant insight into gym-mnist-pair implemented functionality, and help decide if they suit your requirements.
- Initialize MNIST .
- Returns the state of the given action .
- Return the state transition from direction .
- Perform a single step .
- Load MNIST .
- Generate a random translation matrix .
Get all kandi verified functions for this library.
gym-mnist-pair Key Features
No Key Features are available at this moment for gym-mnist-pair.
gym-mnist-pair Examples and Code Snippets
No Code Snippets are available at this moment for gym-mnist-pair.
Community Discussions
No Community Discussions are available at this moment for gym-mnist-pair.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gym-mnist-pair
Clone the repository and install with pip:.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page