Using MLlib with Spark, this code compares Logistic Regression and Gradient Boosted Decision Tree classifier models to predict whether a person makes more or less than $50,000 per year as a salary.
The "adult" data set is taken from the UCI Machine Learning Repository: https://archive.ics.uci.edu/ml/datasets/adult.