What’s up guys! Smaller update this time, but an important one…
I reorganized the project into folders first — all the ecosystem stuff now lives in Genetic_Algorithms/, since I’m about to start a second track of the project: Neuroevolution/.That’s right, I started learning how to actually give my creatures brains instead of hardcoded behavior! First step was building a single Perceptron from scratch — the simplest possible neural network, just one neuron with weights. I trained it to learn how to separate points above and below a line, and you can literally watch it learn live: it starts with a random decision line, and one point at a time it adjusts its own weights until the line converges to match the real one. Points get circled green when the perceptron guesses right and purple when it’s wrong, so you can watch it get better in real time.This is step one of a much bigger plan — eventually I want my creatures’ behavior to come from an evolved neural network instead of me hardcoding “flee predator, seek food.” A perceptron obviously can’t do that on its own, but it’s the building block everything else is made of, so I wanted to actually understand it before jumping straight to neuroevolution. Next up is stacking these into a real multi-layer network, and then evolving them instead of training them with math. Thanks for reading, see you next devlog!
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.