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...

КОМЕНТАРІ • 13

  • @saite2560
    @saite2560 2 роки тому

    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

    • @LeximusDeepLearning
      @LeximusDeepLearning  2 роки тому

      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.

  • @ANTIMONcom
    @ANTIMONcom 3 роки тому

    Link to the Matrices Tutorial seems to have been set to private

  • @rshsrhserhserh1268
    @rshsrhserhserh1268 3 роки тому

    Have you tried creating a trading ai with genetic+RL ? I'm asking because because i did. So i have a question if so :)

    • @chaseratliff8505
      @chaseratliff8505 2 роки тому

      That's what I am working on, I set up a market simulator

    • @gimpy2894
      @gimpy2894 Рік тому

      @@chaseratliff8505 that is what im doing to

  • @wilfredomartel7781
    @wilfredomartel7781 Місяць тому

    ❤❤

  • @jeanzyx1707
    @jeanzyx1707 2 роки тому

    I have an error who says:
    ImportError: cannot import name 'rendering' from 'gym.envs.classic_control'
    Does anyone can help me ?

    • @MNasser99
      @MNasser99 Рік тому

      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".

  • @john110503
    @john110503 3 роки тому

    Can we set it for 3 input and 1 output

    • @LeximusDeepLearning
      @LeximusDeepLearning  3 роки тому

      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.

  • @jeanzyx1707
    @jeanzyx1707 2 роки тому

    stp continut a faire des vidéos