Skip to content

jacobbriones1/GuessNumbers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GuessNumbers

Gym Environment for Guessing Multiple Numbers. Inspired by GoodAI and the Badger architecture. For more information on how the guessing game is used in the Badger architecture, see the original badger paper.

Installation:

clone this repository and install the package:
$git clone https://github.com/jacobbriones1/GuessNumbers
$cd GuessNumbers
$pip install -e .

Running the environment

import gym 
import guessing_game

env = gym.make('NumberGuessing-v0')
env.reset(size=5)

The Guessing Game

The goal is to guess a vector of a given size. A vector is initialized randomly, and an agent guesses using step([...]). The returned observation is the Mean Squared Error between the actual vector and the guessed vector. A reward of 0 is given for guesses that are not within an MSE of 0.001, and a reward of 1 otherwise.

About

Gym Environment for Guessing Multiple Numbers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages