The Huginn Naive Bayes agent uses some incoming Events as a training set for Naive Bayes Machine Learning. Then it classifies Events from other sources accordingly using tags. Acts as a Huginn Agent front end to the NBayes gem.
Google has opened the source to DeepDream, the neural network image analysis application that made a splash by generating its own images. Here it is, and it tells you what the dependencies are.