CourseWare Wiki
Switch Term
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
step4
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/11/25 15:56 xposik [Preparation]
2015/10/15 15:18 xposik [Preparation]
2015/10/15 15:18 xposik [Preparation]
2015/10/15 15:16 xposik [Preparation]
2015/10/15 15:15 xposik [Simple filters]
2015/10/15 15:14 xposik [Preparation]
2015/10/15 15:13 xposik [Preparation]
2015/10/15 14:01 xposik created
Go
2015/11/25 15:56 xposik [Preparation]
2015/10/15 15:18 xposik [Preparation]
2015/10/15 15:18 xposik [Preparation]
2015/10/15 15:16 xposik [Preparation]
2015/10/15 15:15 xposik [Simple filters]
2015/10/15 15:14 xposik [Preparation]
2015/10/15 15:13 xposik [Preparation]
2015/10/15 14:01 xposik created
Go
Next revision
Both sides next revision
courses:be5b33prg:homeworks:spam:step4 [2015/10/15 15:14]
xposik
[Preparation]
courses:be5b33prg:homeworks:spam:step4 [2015/10/15 15:15]
xposik
[Simple filters]
Line 39:
Line 39:
* ''ParanoidFilter'' which classifies all the emails as ''SPAM'', and
* ''ParanoidFilter'' which classifies all the emails as ''SPAM'', and
* ''RandomFilter'' which assigns the lables ''OK'' and ''SPAM'' randomly.
* ''RandomFilter'' which assigns the lables ''OK'' and ''SPAM'' randomly.
-
* If these 3 filters have some functionality in common, try to extract it into a common ancestor called ''BaseFilter'' **in module ''basefilter.py''**.
+
* **Optional:*
* If these 3 filters have some functionality in common, try to extract it into a common ancestor called ''BaseFilter'' **in module ''basefilter.py''**.
Why do we need it?
Why do we need it?
courses/be5b33prg/homeworks/spam/step4.txt
· Last modified: 2015/11/25 15:56 by
xposik