@RobSmithDev
  @RobSmithDev
RobSmithDev | Neural Network and Genetic Algorithm (Food and Water) Experiment 1 @RobSmithDev | Uploaded August 2016 | Updated October 2024, 1 minute ago.
Neural Network with Genetic Algorithms Experiment 1 (food and water)

Watch the updated video at: youtube.com/watch?v=bq3FdlUeOTU

An experiment using Neural Networks and genetic algorithms I have always found you understand something better if you build it yourself.

My aim was to make a "lifeform" that learnt basic needs. The life form needs water and food to survive. Water is always available, food is scattered and once eater re-spawns elsewhere. If the "lifeform" runs out of either then it is classed as "dead"

There are 30 "lifeforms" in each generation, and each generation runs for a maximum of 6000 iterations. The project is setup with a Neural Network with 8 inputs, two hidden layers and 2 outputs.

With the current configuration and topology, by the 950th generation 2/3 of the lifeforms survive.

I have included data for the network after I left it running over night (it reached 17120 generations)

Source code at:
github.com/RobSmithDev/NeuralNetworkGA1

Live demo at:
experiments.robsmithdev.co.uk/NeuralNetworkGA1

Consider supporting me on Patreon at
patreon.com/RobSmithDev
Neural Network and Genetic Algorithm (Food and Water) Experiment 1Hacking Cameras - Arduino VISCA Controller for Pan, Tilt, Zoom and more!Build The Amazing Levitating #Amiga #BoingBall!Introducing DiskFlashback - Retro Floppy Disk Software for Windows!MiSTer Floppy 2024 - Minimig Core Floppy Drive Update

Neural Network and Genetic Algorithm (Food and Water) Experiment 1 @RobSmithDev

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER