Skip to content

Commit c759284

Browse files
authored
Merge pull request lukas#38 from mcharleb/master
Fix minor code issues
2 parents d00b561 + a5f6aa1 commit c759284

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

amazon-reviews/download-amazon.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
wget http://snap.stanford.edu/data/amazon/productGraph/categoryFiles/reviews_Video_Games_5.json.gz
2-
gunzip xvfz reviews_Video_Games_5.json.gz
2+
gunzip reviews_Video_Games_5.json.gz

scikit/classifier-svm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@
3838
# See what the classifier predicts for some new tweets:
3939
#for tweet in ('I love my iphone!!!', 'iphone costs too much!!!', 'the iphone is not good', 'I like turtles'):
4040
# print('Tweet: ' + tweet)
41-
# print('Prediction: ' + str(nb.predict(count_vect.transform([tweet]))))
41+
# print('Prediction: ' + str(clf.predict(count_vect.transform([tweet]))))
4242
# print('\n')

0 commit comments

Comments
 (0)