classification MATLAB code based on "Document Filtering" chapter of "Collective Intelligence" book by Toby Segaran Main stript is "classification.m" - start with this file. Everything else is either custom MATLAB fucntions or data files.