Quantum Computing - A Web Scraping Project

Posted on Oct 2, 2018

Sentiment Analysis

I struggled at first to perform sentiment analysis but ultimately discovered TextBlob application. TextBlob is a Python library that provides an API for various language processing tasks. The results can be found below.

Most tweets were positive, although some expressed fears about the negative consequences of QC-enhanced AI. As you can see below, the more positive the tweet, the greater likelihood that it was retweeted. In the following graph, a positive polarity corresponds to a more favorable sentiment; a polarity of 0 corresponds to a neutral or indecipherable sentiment; and a negative polarity corresponds to a less favorable sentiment.


Statistics and Relationships

After performing the above data analysis, I examined various relationships between Twitter feature actions (Like, Reply, Retweet). In other words, I investigated how the Twitter-sphere reacted to tweets about quantum computing. I found there was a strong relationship between whether tweets were retweeted and liked:

A closer look into the "Likes" Density Plot:

The relationships between these three features for QC-related tweets can be visualized below.

Table and Correlations


Sources:


Link to Github & Web Scraper Python Code:

https://github.com/mwp42/web_scraping_project

About Author

Michael

Michael is currently a Data Science Fellow at the NYC Data Science Academy. He graduated from the Wharton School of the University of Pennsylvania with a B.S. in Economics before securing the position of Investment Banking Analyst at...
View all posts by Michael >

Leave a Comment

No comments found.

View Posts by Categories


Our Recent Popular Posts


View Posts by Tags

#python #trainwithnycdsa 2019 airbnb Alex Baransky alumni Alumni Interview Alumni Reviews Alumni Spotlight alumni story Alumnus API Application artist aws beautiful soup Best Bootcamp Best Data Science 2019 Best Data Science Bootcamp Best Data Science Bootcamp 2020 Best Ranked Big Data Book Launch Book-Signing bootcamp Bootcamp Alumni Bootcamp Prep Bundles California Cancer Research capstone Career Career Day citibike clustering Coding Course Demo Course Report D3.js data Data Analyst data science Data Science Academy Data Science Bootcamp Data science jobs Data Science Reviews Data Scientist Data Scientist Jobs data visualization Deep Learning Demo Day Discount dplyr employer networking feature engineering Finance Financial Data Science Flask gbm Get Hired ggplot2 googleVis Hadoop higgs boson Hiring hiring partner events Hiring Partners Industry Experts Instructor Blog Instructor Interview Job Job Placement Jobs Jon Krohn JP Morgan Chase Kaggle Kickstarter lasso regression Lead Data Scienctist Lead Data Scientist leaflet linear regression Logistic Regression machine learning Maps matplotlib Medical Research Meet the team meetup Networking neural network Neural networks New Courses nlp NYC NYC Data Science nyc data science academy NYC Open Data NYCDSA NYCDSA Alumni Online Online Bootcamp Online Training Open Data painter pandas Part-time Portfolio Development prediction Prework Programming PwC python Python Data Analysis python machine learning python scrapy python web scraping python webscraping Python Workshop R R language R Programming R Shiny r studio R Visualization R Workshop R-bloggers random forest Ranking recommendation recommendation system regression Remote remote data science bootcamp Scrapy scrapy visualization seaborn Selenium sentiment analysis Shiny Shiny Dashboard Spark Special Special Summer Sports statistics streaming Student Interview Student Showcase SVM Switchup Tableau team TensorFlow Testimonial tf-idf Top Data Science Bootcamp twitter visualization web scraping Weekend Course What to expect word cloud word2vec XGBoost yelp