CourseWare Wiki
Switch Term
Winter 2024 / 2025
Winter 2023 / 2024
Winter 2022 / 2023
Winter 2021 / 2022
Winter 2020 / 2021
Winter 2019 / 2020
Winter 2018 / 2019
Older
Search
Log In
old
courses
be5b33prg
homeworks
spam
step3
Warning
This page is located in archive. Go to the latest version of this
course pages
.
Differences
This shows you the differences between two versions of the page.
View differences:
Side by Side
Inline
Go
Link to this comparison view
Both sides previous revision
Previous revision
2015/12/14 14:24 xposik [Function ''quality_score()'']
2015/12/14 14:14 xposik [Function ''compute_quality_for_corpus()'']
2015/12/14 14:14 xposik [Function ''compute_quality_for_corpus()'']
2015/12/14 14:12 xposik [Function ''quality_score()'']
2015/11/25 16:34 xposik [Spam filter - step 3]
2015/11/25 16:01 xposik [Confusion Matrix]
2015/11/25 15:58 xposik [Preparation]
2015/10/15 15:12 xposik [Function ''compute_quality_for_corpus()'']
2015/10/15 15:05 xposik [Confusion Matrix]
2015/10/15 13:58 xposik
2015/10/15 13:58 xposik created
Go
Next revision
Previous revision
2015/12/14 14:24 xposik [Function ''quality_score()'']
2015/12/14 14:14 xposik [Function ''compute_quality_for_corpus()'']
2015/12/14 14:14 xposik [Function ''compute_quality_for_corpus()'']
2015/12/14 14:12 xposik [Function ''quality_score()'']
2015/11/25 16:34 xposik [Spam filter - step 3]
2015/11/25 16:01 xposik [Confusion Matrix]
2015/11/25 15:58 xposik [Preparation]
2015/10/15 15:12 xposik [Function ''compute_quality_for_corpus()'']
2015/10/15 15:05 xposik [Confusion Matrix]
2015/10/15 13:58 xposik
2015/10/15 13:58 xposik created
Go
Next revision
Both sides next revision
courses:be5b33prg:homeworks:spam:step3 [2015/11/25 16:01]
xposik
[Confusion Matrix]
courses:be5b33prg:homeworks:spam:step3 [2015/12/14 14:12]
xposik
[Function ''quality_score()'']
Line 1:
Line 1:
====== Spam filter - step 3 ======
====== Spam filter - step 3 ======
-
Create
a set of classes and
functions needed to evaluate the filter quality.
+
Create
additional
functions needed to evaluate the filter quality.
-
/**
-
<WRAP round download>
-
[[.unit_testing|Tests]] for step 3: {{:courses:a4b99rph:cviceni:spam:test3_quality.zip|}}
-
</WRAP>
-
**/
Line 15:
Line 11:
Task:
Task:
* Create function ''quality_score(tp, tn, fp, fn)'' in module ''quality.py''.
* Create function ''quality_score(tp, tn, fp, fn)'' in module ''quality.py''.
-
* Function computes the quality score defined during the lab.
+
* Function computes the quality score defined during the lab
(find it also [[courses:be5b33prg:homeworks:spam:evaluation#filter_quality_assessment|here]])
.
^ ''quality_score(tp, tn, fp, fn) '' Compute the quality score based on the confusion matrix. ^^
^ ''quality_score(tp, tn, fp, fn) '' Compute the quality score based on the confusion matrix. ^^
courses/be5b33prg/homeworks/spam/step3.txt
· Last modified: 2015/12/14 14:24 by
xposik