Can an algorithm predict terror attacks? Scientists create new method of mining social media to anticipate Isis' next move