kalimdor_wilson ([info]kalimdor_wilson) wrote,

Brain Damage

I finally finished debugging my neural network code!

Yaay.

As it turns out, there were problems. A little one here, a tiny one there, and those little tiny itty bitty mistakes made for simulated computer brains that were... miswired. Twitchy.

Damaged.



(Solution space of a brain-damaged neural network.)


They're certainly interesting, but I need a solid, correctly-functioning neural network to be able to continue with my... experiments...

MWHAHAHAHA!!!
*cough*



(Another damaged neural network.)

I made very small networks that I could test by working through the calculations by hand as well as having the computer do them. Slowly, bit by bit, the mistakes got corrected...




... aaaaand, where the hell'd the "interesting" go?? Must still be a few bugs left...




Fix two bugs, accidentally introduce a brand new bug.




Suddenly, the brain fractures in a totally different way.

I kinda wish now that I'd saved a copy of this particular version of the malfunctioning C code. It would have made a decent abstract-art generator.




Finally. The code checks out. Its answers match the ones on paper.

I increase the neuron count and run the program:



(First image generated by the properly-functioning neural network code.)




I'm discovering that initial severity of randomness that I start with in the simulated brain needs to be changed, depending on the number of neurons I tell the brain it's going to have.




I increase the number of neurons again, and I start getting more interesting results.

The system is starting to bog down a bit since the simulated brain is getting larger exponentially. I shrink the image size so I'm not throwing as many pixels at it.





  






  

These l'il guys were made with neural-networks large enough to keep the computer busy for several minutes calculating them.

(That's not bad when you consider that the brain has to be run on every single dot in the image. That's thousands to millions, depending on the image size.)




(It took minutes to draw, but each individual pixel only took
about seven one-thousandths of a second to calculate.
)



I can't wait to hook these simulated brains up to simulated bodies so they can go run around in a simulated world.

... that's when I get to watch them evolve...

  • Post a new comment

    Error

    Your IP address will be recorded 

  • 4 comments

[info]agentcooper

March 12 2006, 10:36:01 UTC 6 years ago

Neat and beautiful.

I'm having too much fun surfing the web on my couch/TV with the Mini to write any code. Maybe next weekend.

[info]kalimdor_wilson

March 12 2006, 17:57:27 UTC 6 years ago

I'm soooo happy that coding is fun again!

It's amazing just how burnt-out I had become when I programmed for a living.

[info]thelucyfurr

March 12 2006, 17:29:31 UTC 6 years ago

hello panda

[info]kalimdor_wilson

March 12 2006, 17:50:14 UTC 6 years ago

Re: hello panda

IT'S GOT A BRAIN!!

Let's graph it! Graph its brain!
Create an Account
Forgot your login or password?
Facebook Twitter More login options
English • Español • Deutsch • Русский…