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.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
courses:be5b33prg:homeworks:spam:specifications [2015/11/25 15:50]
xposik [Submission 1]
courses:be5b33prg:homeworks:spam:specifications [2018/01/08 16:00]
petrito1 [Submission 2] Removing parts which were not explicitly discussed as separate parts.
Line 1: Line 1:
 ======Spam filter task specifications====== ======Spam filter task specifications======
-The spam filter must be implemented in Python.+ 
 +<WRAP important round> 
 +See the general [[courses:​be5b33prg:​tutorials:​homeworks|homework guidelines]]! 
 +</​WRAP>​ 
 + 
  
 =====Specifications===== =====Specifications=====
Line 63: Line 68:
   - ''​filter.py''​. The implementation of your filter.   - ''​filter.py''​. The implementation of your filter.
   - ''​basefilter.py''​. If you found some common functionality for all the filters and extracted it in class ''​BaseFilter''​ from which your filter class inherits, you must also include the ''​basefilter.py''​ file.   - ''​basefilter.py''​. If you found some common functionality for all the filters and extracted it in class ''​BaseFilter''​ from which your filter class inherits, you must also include the ''​basefilter.py''​ file.
-  - ''​corpus.py'' ​and ''​trainingcorpus.py''​. You most likely figured out, that the ''​train()''​ method ​of your filter uses class ''​TrainingCorpus'',​ while the ''​test()''​ method uses ''​Corpus''​ class. If you use them, you have to turn them in as well. +  - ''​utils.py''​. ​Some of your classes quite likely ​use functions ​''​read_classification_from_file'' ​and 'write_classification_to_file' from ''​utils.py''​ module.
-  - ''​utils.py''​. Your ''​TrainingCorpus''​ class quite likely uses function ''​read_classification_from_file''​ from ''​utils.py''​ module.+
   - Any other files your filter needs to work.   - Any other files your filter needs to work.
  
courses/be5b33prg/homeworks/spam/specifications.txt · Last modified: 2018/01/17 11:14 by petrito1