predictor calculator