Active Learning and Optimal Predictions