Closed jonhealy1 closed 4 years ago
For this we should change it so instead of <computer$ examine_data.py singlesub> you could do <computer$ examine_data.py singlesub canada> for whatever subreddit you want to look up
Also you have to run eigen3 first to create :EIGEN links between Subreddits before you run singlesub.
Nice idea! I noticed you also included your node_modules folders, could you please remove it so I can approve it.
Nice idea! I noticed you also included your node_modules folders, could you please remove it so I can approve it.
Done.
computer$ examine_data.py eigen2
--- Top 5 Positive and Negative ---
sentiment top5
0 1 [iama, askreddit, pics, funny, videos]
1 -1 [askreddit, pics, worldnews, videos, funny]
computer$ examine_data.py eigen3
--- Top 5 Positive and Negative By Year ---
year sentiment top_5
0 2014 -1 [askreddit, adviceanimals, iama, todayilearned...
1 2014 1 [iama, askreddit, pics, videos, funny]
2 2015 -1 [askreddit, worldnews, videos, news, pics]
3 2015 1 [iama, askreddit, videos, pics, funny]
4 2016 -1 [askreddit, the_donald, worldnews, politics, n...
5 2016 1 [iama, askreddit, videos, pics, funny]
6 2017 -1 [askreddit, the_donald, politics, worldnews, n...
7 2017 1 [askreddit, iama, the_donald, videos, pics]
computer$ examine_data.py singlesub
--- Subreddit Through the Years ---
subreddit year positive_sentiment negative_sentiment
0 funny 2014 112.005270 34.955477
1 funny 2015 127.159915 37.869209
2 funny 2016 139.167690 33.253562
3 funny 2017 83.190014 17.709384