Skip to content

Commit

Permalink
Removing data clean script
Browse files Browse the repository at this point in the history
  • Loading branch information
purohit committed Feb 19, 2012
1 parent b88e4e8 commit c65a312
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 46 deletions.
5 changes: 4 additions & 1 deletion classify.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,7 @@
except MultinomialBayesException, e:
pass

print "Accuracy: {} correct/ {} incorrect of {} examples (accuracy: {:.2f}%)".format(correct, incorrect, correct+incorrect, 100.0* (correct/(correct+incorrect)))
print "Training set size: {}, Test set size: {}\n {} correct/{} incorrect of {} examples (accuracy: {:.2f}%)".format(
len(training_set), len(test_set),
correct, incorrect, correct+incorrect, 100.0* (correct/(correct+incorrect))
)
45 changes: 0 additions & 45 deletions clean_data.py

This file was deleted.

0 comments on commit c65a312

Please sign in to comment.