Building on the excellent work by Max Humber that I mentioned in my previous post, I wrote some code to collect some data and create a nearest-neighbors recommender. The code and instructions for use can be found at https://github.com/rericsson/hop-prescribe.
In a nutshell, this will get some data from Beeradvocate, create a model and save it into a file so it can be published. My next entry on this topic will be about publishing the model as a web service.