Automatic and objective gradation of 114 183 terrorist attacks using a machine learning approach