A couple weeks ago @aeonofdiscord showed me "The Hitch-hiker's Guide to Artificial Intelligence" from 1986, a book by Richard Forsyth and Chris Naylor, which teaches readers the state-of-the-art in AI using... BASIC programming type-ins. There's some extremely minimal examples of expert systems, A* maze path search, alpha-beta game trees, etc. but one that made me curious was a "Perceptron image classifier" for machine vision. Image classification in 16kb? I had to see for myself if it would work, so I made a #Processing version. And, amazingly, it actually does - giving about 7 examples of a smile vs frown face, it can then distinguish between the two. Not bad for an idea from 1957!
Post
Replies:
1
@aeonofdiscord Internet Archive has copies of the book for BBC Micro, Amstrad and IBM PC BASIC, which is where I got the code from:
https://archive.org/details/forsyth-naylor-hitchhikers-guide-to-ai-pc-basic/mode/2up
And the Processing version of it I wrote: https://gist.github.com/greg-kennedy/b6d365f22d5cfa03fdbbb7946bba8e12