SiRumCz / CSC501

CSC501 assignments
0 stars 1 forks source link

Top5eigen #84

Closed jonhealy1 closed 4 years ago

jonhealy1 commented 4 years ago

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

jonhealy1 commented 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

jonhealy1 commented 4 years ago

Also you have to run eigen3 first to create :EIGEN links between Subreddits before you run singlesub.

SiRumCz commented 4 years ago

Nice idea! I noticed you also included your node_modules folders, could you please remove it so I can approve it.

jonhealy1 commented 4 years ago

Nice idea! I noticed you also included your node_modules folders, could you please remove it so I can approve it.

Done.