Classification Model

SPAM detection is “considered” a toy example.

As such, we will explore two of the simples learning models: Naive Bayes and Logistic Regression.

Model Evaluation

Classification model can be evaluated using a confusing matrix.

The simplest methods to evaluate a model is through accuracy:

  • acc = (TP + TN) / (TN + TN + FP + FN)

Last updated