Machine-learning models can predict the location of future military conflicts but they’re not so good at predicting when they will happen.