Machine learning algorithms for predictive analytics