-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathlog-2nn.txt
45 lines (45 loc) · 2.84 KB
/
log-2nn.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
71885 comments loaded
122 total users
100 users available for analysis
70744 comments available for analysis.
Uniform guess correctness rate: 0.01
Mean comment length: 148.60413604 characters.
Producing Bag-of-Words features...
....................................................................................................
....................................................................................................
Training 2-Nearest Neighbor Classifier...
Computing accuracy...
/campus/anovak1/local/lib/python2.7/site-packages/scikit_learn-0.12.1-py2.7-linux-x86_64.egg/sklearn/neighbors/classification.py:131: NeighborsWarning: kneighbors: neighbor k+1 and neighbor k have the same distance: results will be dependent on data order.
neigh_dist, neigh_ind = self.kneighbors(X)
/campus/anovak1/local/lib/python2.7/site-packages/scikit_learn-0.12.1-py2.7-linux-x86_64.egg/sklearn/neighbors/classification.py:159: NeighborsWarning: kneighbors: neighbor k+1 and neighbor k have the same distance: results will be dependent on data order.
neigh_dist, neigh_ind = self.kneighbors(X)
2-Nearest Neighbor/Bag-of-Words Accuracy: 0.0450038138825
2-Nearest Neighbor/Bag-of-Words in top 5: 0.112834420996
Training Naive Bayes Classifier...
Computing accuracy...
Naive Bayes/Bag-of-Words Accuracy: 0.0660507952651
Naive Bayes/Bag-of-Words in top 5: 0.175127835692
Training Linear SVM Classifier...
Computing accuracy...
Linear SVM/Bag-of-Words Accuracy: 0.163968697912
Predicting probabilities not supported by Linear SVM
Producing Content-Free (raw) features...
....................................................................................................
....................................................................................................
Training 2-Nearest Neighbor Classifier...
Computing accuracy...
/campus/anovak1/local/lib/python2.7/site-packages/scikit_learn-0.12.1-py2.7-linux-x86_64.egg/sklearn/neighbors/classification.py:131: NeighborsWarning: kneighbors: neighbor k+1 and neighbor k have the same distance: results will be dependent on data order.
neigh_dist, neigh_ind = self.kneighbors(X)
/campus/anovak1/local/lib/python2.7/site-packages/scikit_learn-0.12.1-py2.7-linux-x86_64.egg/sklearn/neighbors/classification.py:159: NeighborsWarning: kneighbors: neighbor k+1 and neighbor k have the same distance: results will be dependent on data order.
neigh_dist, neigh_ind = self.kneighbors(X)
2-Nearest Neighbor/Content-Free (raw) Accuracy: 0.0342401898466
2-Nearest Neighbor/Content-Free (raw) in top 5: 0.0981156595192
Training Naive Bayes Classifier...
Computing accuracy...
Naive Bayes/Content-Free (raw) Accuracy: 0.036839280165
Naive Bayes/Content-Free (raw) in top 5: 0.100743000819
Training Linear SVM Classifier...
Computing accuracy...
Linear SVM/Content-Free (raw) Accuracy: 0.0316128485465
Predicting probabilities not supported by Linear SVM
Done!