2.3 The Neural Network [Genetic Algorithm for Neural Networks - Tutorial with code]
Вставка
- Опубліковано 5 чер 2019
- We set up the neural network used for the snake game.
Link to the Matrices Tutorial: • Why do we use matrices...
Github repro: github.com/alexandrelefourner...
At 23:29 on the screen it lists a line that says
env.observation_space
Both of which flag unknown variable env. And observation_space separate. But did I miss a declaration of env or is this just a noob question
Hi !
The env variable is declared as the following :
env = gym.make('babysnek-raw-16-v1')
You can find it in cell 3 of the complete notebook which I uploaded on my github:
github.com/alexandrelefourner/neural_networks_tutorial/blob/master/2.%20Your%20first%20genetic%20algorithm%20solution.ipynb
It should normally have been defined in the previous videos.
Link to the Matrices Tutorial seems to have been set to private
Indeed... I updated it. The link is now a correct one.
Have you tried creating a trading ai with genetic+RL ? I'm asking because because i did. So i have a question if so :)
That's what I am working on, I set up a market simulator
@@chaseratliff8505 that is what im doing to
❤❤
I have an error who says:
ImportError: cannot import name 'rendering' from 'gym.envs.classic_control'
Does anyone can help me ?
Late answer, but for anyone facing this, it was fixed for me by downgrading the gym package to version 0.21.0.
You can do that by using the command "pip install gym==0.21.0".
Can we set it for 3 input and 1 output
Of course, you just have to change the input matrix to be (3,x) and last by (xi,1)
For a single layer, you can chose to do a simple (3,1) matrix.
stp continut a faire des vidéos