Category "openai-gym"

Open AI Gym with Neat Algorithm not working on Jupyter

import multiprocessing import os import pickle import numpy as np import neat import gym runs_per_net = 2 # Use the NN network phenotype and the discrete actu

Which OpenAI gym environment should be used for solve the shortest route problem?

I am trying to fine the shortest route between two nodes using reinforcement learning. I am not sure what environment to use. I have found this particular envir

How to check the actions available in OpenAI gym environment?

When using OpenAI gym, after importing the library with import gym, the action space can be checked with env.action_space. But this gives only the size of the a

how can i install gym[box2d] despite errors below?

when i try to install gym[box2d] i get following error: i tried: pip install gym[box2d]. on anaconda prompt i installed swig and gym[box2d] but i code in python

How is profit calculated in gym environment?

So I'm using the gym stocks environment to train a model using A2C policy but I want to understand how the profit is calculated by the model, in the documentati

Error while defining observation space in gym custom environment

I am working on a reinforcement algorithm, I am very new to this and trying to get a hold of things. Player1Env looks upon a 7x6 Connect4 playing grid. I am ini

How to check out actions available in OpenAI gym environment?

It seems like the list of actions for Open AI Gym environments are not available to check out even in the documentation. For example, let's say you want to play

installing box2d gym ai

I want to train DQN on CarRacing environmnet but when I want to import it using bellow command there is an error. env = gym.make('CarRacing-v0').unwrapped Attr