Predicting terrorism with machine learning