Skip to content

Commit

Permalink
Update test_script.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkokotila committed Apr 23, 2017
1 parent 4ef4d10 commit 7347be9
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions test_script.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
import os # this is for travis only
import matplotlib as mpl # this is for travis only
from autonomio.commands import data, train

if os.environ.get('DISPLAY','') == '': # this is for travis only
print('no display found. Using non-interactive Agg backend') # this is for travis only
mpl.use('Agg') # this is for travis only

tweets = data('random_tweets')
tr = train('text','neg',tweets.head(5000))

0 comments on commit 7347be9

Please sign in to comment.