Learning Predictions for Algorithms with Predictions