MATLAB code based on "Making Recommendations" chapter of "Collective Intelligence" book by Toby Segaran Modified based on the approach presented by Andrew Ng from Coursera/Stanford in his Machine Learning class.
Main stript is "recommendations.m" - start with this file. Everything else is either custom MATLAB fucntions or data files. MovieLens dataset is available from https://github.com/toshiakit/recommendations