Search
Create additional functions needed to evaluate the filter quality.
Task:
quality_score(tp, tn, fp, fn)
quality.py
compute_quality_for_corpus(corpus_dir)
!truth.txt
!prediction.txt
read_classification_from_file()
compute_confusion_matrix()
quality_score()
Why do we need it?