Development of an End-to-end Machine Learning System with Application to In-app Purchases