Research Article

Predicting and Preventing Crime: A Crime Prediction Model Using San Francisco Crime Data by Classification Techniques

Table 4

Confusion matrix results of Naive Bayes on testing data.

  

Predictions/referencesNonviolent crimeViolent crime
Nonviolent crime55,28231,117
Violent crime31,51857,693