This neural network accurately predicts extreme weather events