Prediction and choice in the Prisoner's Dilemma