f function

Predictor Function