Skip to content
This repository has been archived by the owner on Dec 9, 2021. It is now read-only.

Commit

Permalink
added model probs
Browse files Browse the repository at this point in the history
  • Loading branch information
angel8yu committed Apr 26, 2015
1 parent 0c0088a commit 8c5c63a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
1 change: 1 addition & 0 deletions ml.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import re
import numpy as np
from sklearn.naive_bayes import MultinomialNB
from sklearn.metrics import *
import heapq

start = time.clock()
Expand Down
8 changes: 5 additions & 3 deletions model.py

Large diffs are not rendered by default.

5 changes: 1 addition & 4 deletions stopwords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,4 @@ yours
yourself
yourselves
z
zero
reuter
reuter’s
reuters
zero

0 comments on commit 8c5c63a

Please sign in to comment.