Predicting Cooperation with Learning Models