Image:
 Author: Little Group: Default Filesize: 177.02 kB Date added: 2023-03-09 Rating: 5.6 Downloads: 1584 Views: 339 Comments: 6 Ratings: 2 Times favored: 0 Made with: Algodoo v2.1.0 Tags:
|
Hello Algobox!
Recently I've been interested in AIs, so I decided to create one in Algodoo!
The way most conventional AI works is what's called a "neural network".
Long story short, it's a large array of "neurons", connected by "weights".
So, I decided to create one to recognise digits in Algodoo!
Now I must come clean here, I did not train this network entirely in Algodoo.
About half way through the training, I reimplemented the neural network functions in Python because of how slow Thyme is, and trained it the rest of the way there.
Anywho, it can recognise digits (some of the time)!
This is definitely one of the scenes of mine I'm most proud of.
To use it, click on the 5x5 screen below the "Input" label. Clicking on a tile will flip it from black to white or white to black. Using this, you can write out digits!
Below that screen is a row of 10 digits. The lighter a digit is, the more confident the AI is that it's what you wrote.
Below that is also the digit the AI is the most confident you wrote. You could get this information from the digit row, but it's easier for you to read it this way.
Also, on the right is a visualization of the neural network (A big thanks goes out to Fra32 who helped me build a visualizer, + debug this network!) reading a 7.
Thanks for downloading, have phun!
Update: Slightly changed the title (I wrote the original one at midnight after a very long day of school, many tests :v. I was pretty exhausted.)
2022 - 2023 XCS
If you reupload this scene or part of it, please be sure to credit Little and XCS. |