How Do Predictive Algorithms Work