Tuning parameter calibration for prediction in personalized medicine