This contains the code for data pre-processing (python), naive bayes classifier (java) and k nearest neighbor (java) implement on training and test data set provided by Kaggle as part of an online competition.