Warning
This page is located in archive. Go to the latest version of this course pages.

This is an old revision of the document!


Spam filter - step 2

Create function compute_confusion_matrix() that will compute and return a confusion matrix based on real classes of emails, and on email classes predicted by a filter.

Preparation

  • In the article Binary Classification, find and understand the meaning of abbreviations TP, FP, TN, FN.
  • Take a piece of paper and write down:
    • what these abbreviations mean for the spam filtering problem, and
    • what we need to know to be able to compute them.
courses/be5b33prg/homeworks/spam/step2.1448463659.txt.gz · Last modified: 2015/11/25 16:00 by xposik