Predictive algorithms predict an outcome based on given inputs. They operate in either a learning or prediction phase. In the learning phase, historical data of input-output pairs is passed to the algorithm and it maps a relationship between the two. In the prediction phase, only inputs are given and the algorithm predicts an output.