throws RuntimeError instead of exiting on nonsense values for the predictor