Warning
This page is located in archive.

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
courses:be5b33prg:homeworks:spam:specifications [2016/11/04 16:08]
xposik [Spam filter task specifications]
courses:be5b33prg:homeworks:spam:specifications [2018/01/17 11:14]
petrito1 [Submission 2]
Line 68: 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