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 Both sides next revision
courses:be5b33prg:homeworks:spam:step1 [2015/11/26 09:12]
xposik
courses:be5b33prg:homeworks:spam:step1 [2015/11/26 09:13]
xposik [Specifications]
Line 50: Line 50:
 Function ''​read_classification_from_file()''​ (in module ''​utils.py''​) has to conform to the following specifications: ​ Function ''​read_classification_from_file()''​ (in module ''​utils.py''​) has to conform to the following specifications: ​
  
 +^ ''​read_classification_from_file(fpath)''​ ^^
 ^  Input  | The path to the text file (most likely either ''​!truth.txt''​ or ''​!prediction.txt''​) ​ | ^  Input  | The path to the text file (most likely either ''​!truth.txt''​ or ''​!prediction.txt''​) ​ |
 ^  Output ​ | A dictionary containing either ''​SPAM''​ or ''​OK''​ label for each filename in email corpus. ​ | ^  Output ​ | A dictionary containing either ''​SPAM''​ or ''​OK''​ label for each filename in email corpus. ​ |
courses/be5b33prg/homeworks/spam/step1.txt ยท Last modified: 2015/11/30 15:29 by xposik