Skip to content

My beautiful Neural Network made from scratch and love. It plays the game Flappy-Birds flawlessly, in 3 to 9 generations!!

Notifications You must be signed in to change notification settings

sugaith/my-neural-network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Neural Network

This is a Neural Network made from scratch in order to learn AI fundamentals and build intuition over it.

This is a spin-off of my Virtual ML Master Course.

It works impressively well. It can play the game flawlessly in 3 to 9 generation with current settings and game-play.

suga-flappy-nn-birds.gif

Structure: experiment with parameters

To Run & Play

  • So if you run the NeuralNet.py file, it has a XOR test where the net accurately predicts the output of XOR operation
  • To run the Flappy-Bird Game, run the file flappy_bird_game.py.
  • Hit SPACE to play along with the AI-Birds! the green bird is YOURSELF

To Install

This Neural-net is made only with numpy and pygame.

But for those not use to Python: use Anaconda! To create an env in coda, open conda shell and:

  • create, activate a conda env called neural-net and install packages
conda create --name suga-neural-net python=3.9
conda activate suga-neural-net
conda install --file=requirements.txt

Releases

No releases published

Packages

No packages published

Languages