New machine learning methods could improve environmental predictions