A gentle introduction to Naïve Bayes classification using R
Now that we have a model, we can do some predicting. We do this by feeding our test data into our model and comparing the predicted party affiliations with the known ones. The latter is done via the wonderfully named confusion matrix – a table in which true and predicted values for each of the predicted classes are displayed in a matrix format.
Jun-25-2016, 05:51:17 GMT
- Technology: