Architecting Predictive Algorithms for Machine Learning