Skip to content

Commit 8937c29

Browse files
authored
Mirror Execution Instructions
Add `python` command for the classification example to match the training/learn guidance.
1 parent 363a9db commit 8937c29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ Classification
2525

2626
Once training is complete, classification is performed using this command:
2727

28-
bayes.py classify <file> <doctype> <doctype>
28+
python bayes.py classify <file> <doctype> <doctype>
2929

3030
+ The *file* argument indicates the location of the file containing the document to be classified
3131
+ The two *doctype* arguments are the names of the document types against which the input file will be compared
3232

3333
For example:
3434

3535
python bayes.py classify nigerian_finance_email.txt spam ham
36-
> Probability that document is spam rather than ham is 0.98
36+
> Probability that document is spam rather than ham is 0.98

0 commit comments

Comments
 (0)