I’ve just published an article on how to build a model that predicts breast cancer diagnoses using R. You can read it on the Learning Tree International blog. It applies the k-nearest neighbors algorithm to one of the data sets from the UCI Machine Learning Repository.