Hacker News new | ask | show | jobs
by shazam 4114 days ago
Interesting but how is a NN necessary instead of examining pixel values?
4 comments

I haven't looked at this code, but as a guess, a good NN could learn color names rather than having them explicitly defined, it could learn to compensate for lighting and white balance in photos, and it could recognize which color in a multi-color scene is the "main" color.
I would assume it's a practical (although not entirely useful) example of a hopfield network. If you look at the wikipedia page for it[1] there is little to no information on what you would use it for, seeing an example of practical usage is great for figuring out other practical applications for a hopfield network.

[1]:http://en.wikipedia.org/wiki/Hopfield_network

You're right, it's just a practical application.

For those interested, I came across this chapter [1], which is great for learning about hopfield networks.

[1]: http://www.cs.toronto.edu/~mackay/itprnn/ps/506.522.pdf

It reminds me of the brain.js color contrast demo (https://harthur.github.io/brain/). Perhaps it was inspired by that.
Yeah, I really don't think so, maybe an SVM would be more adequate for this case?

It's pretty much linear and 3-dimensional (r, g, b values) you don't need a complicated structure to read that