ColorBot Neural Network

About

ColorBot was created by Kory Becker. It uses machine learning (ie., artificial intelligence) to learn which pictures are generally red, green, or blue overall. It does this by using a trained neural network, which functions similar to the human brain. If you're curious on the nitty gritty details about how this works, you can read the full technical article.

ColorBot was initially trained to 100% accuracy on a collection of 258 images. Each image was labeled as being red, green, or blue in nature. ColorBot used backpropagation to reduce the error rate while training, until it arrived at the target accuracy.

Once training was complete, ColorBot tried guessing the color on 470 images that it's never seen before. On this test set, it achieved an accuracy of 97.6%. Not bad!

Try your own images

Since ColorBot is already trained to recognize a picture as red, green, or blue, you can try uploading your own image and seeing if it guesses correctly.

Keep in mind, a picture of people might be categorized as red, simply due to human skin color. Or it may be categorized as green, if it involves the outdoors, or perhaps blue, if it includes a bright blue sky.

Uploaded images must be 64x64 pixels in PNG format.I know, kind of lame. If anyone can figure out how to resize an image in node.js on heroku, without installing a library like imagemagick on the server, let me know. :)

What's inside?

ColorBot was created with Node.js, MongoDb, and Twitter Bootstrap.

It uses the brain neural network library and stores the test pics in a nosql database, hosted with MongoLab.

Other Stuff

If you enjoyed this app, check out my other projects, including an interactive maze solver with artificial intelligence, a CD early withdrawal calculator, and AI articles about genetic algorithms, and programs that write their own programs.

AI, machine learning, and neural networks can be applied to a large variety of big data, data science, and data analysis tasks.

Potential ideas include finance, stock market, health, games, seo, and much more. Have a good idea? Get in touch and we can chat.