How Machine Learning Works in Climate Predictions