get_pdp_predictions function

get predictions compatible with the partial dependence plotting method