Function-ify the act of predicting.