Sentiment Analysis in R
Learn sentiment analysis by identifying positive and negative language, specific emotional intent and making compelling visualizations.
Start Course for FreeCreate Your Free Account
or
By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA. You confirm you are at least 16 years old (13 if you are an authorized Classrooms user).Loved by learners at thousands of companies
Course Description
Add sentiment analysis to your text mining toolkit! Sentiment analysis is used by text miners in marketing, politics, customer service and elsewhere. In this course you will learn to identify positive and negative language, specific emotional intent, and make compelling visualizations. You will end the course by applying your sentiment analysis skills to Airbnb reviews to learn what makes for a good rental.
- 1
Fast & dirty: Polarity scoring
FreeIn the first chapter, you will learn how to apply qdap's sentiment function called polarity() .
Let's talk about our feelings50 xpJump right in! Visualize polarity100 xpTM refresher (I)100 xpTM refresher (II)100 xpHow many words do YOU know? Zipf's law & subjectivity lexicon50 xpWhat is a subjectivity lexicon?50 xpWhere can you observe Zipf's law?100 xpPolarity on actual text100 xpExplore qdap's polarity & built-in lexicon50 xpHappy songs!100 xpLOL, this song is wicked good100 xpStressed Out!100 xp - 2
Sentiment analysis the tidytext way
In the second chapter you will explore 3 subjectivity lexicons from tidytext. Then you will do an inner join to score some text.
Plutchik's wheel of emotion, polarity vs. sentiment50 xpOne theory of emotion50 xpDTM vs. tidytext matrix100 xpGetting Sentiment Lexicons100 xpBing lexicon with an inner join explanation50 xpBing tidy polarity: Simple example100 xpBing tidy polarity: Count & spread the white whale100 xpBing tidy polarity: Call me Ishmael (with ggplot2)!100 xpAFINN & NRC methodologies in more detail50 xpAFINN: I'm your Huckleberry100 xpThe wonderful wizard of NRC100 xp - 3
Visualizing sentiment
Make compelling visuals with your sentiment output.
Parlor trick or worthwhile?50 xpReal insight?50 xpUnhappy ending? Chronological polarity100 xpWord impact, frequency analysis100 xpIntrospection using sentiment analysis50 xpDivide & conquer: Using polarity for a comparison cloud100 xpEmotional introspection100 xpCompare & contrast stacked bar chart100 xpInterpreting visualizations50 xpKernel density plot100 xpBox plot100 xpRadar chart100 xpTreemaps for groups of documents100 xp - 4
Case study: Airbnb reviews
Is your property a good rental? What do people look for in a good rental?
Refresher on the text mining workflow50 xpStep 1: What do you want to know?50 xpStep 2: Identify Text Sources100 xpQuickly examine the basic polarity100 xpStep 3: Organize (& clean) the text50 xpCreate Polarity Based Corpora100 xpCreate a Tidy Text Tibble!100 xpCompare Tidy Sentiment to Qdap Polarity100 xpStep 4: Feature Extraction & Step 5: Time for analysis... almost there!50 xpAssessing author effort100 xpComparison Cloud100 xpScaled Comparison Cloud100 xpStep 6: Reach a conclusion50 xpConfirm an expected conclusion50 xpChoose a less expected insight50 xpYour turn!50 xp
In the following tracks
Text MiningDatasets
Line by line polarity for 4 books4 books as a tidy data frame4 books as DocumentTermMatricesPolarity scores of Boston Airbnb reviewsHousing rental reviews from Airbnb in BostonPrerequisites
Text Mining with Bag-of-Words in R
Ted Kwartler
Adjunct Professor, Harvard University
Ted Kwartler is the VP, Trusted AI at DataRobot. At DataRobot, Ted sets product strategy for explainable and ethical uses of data technology in the company's application. Ted brings unique insights and experience utilizing data, business acumen and ethics to his current and previous positions at Liberty Mutual Insurance and Amazon. In addition to having 4 DataCamp courses he teaches graduate courses at the Harvard Extension School and is the author of Text Mining in Practice with R.
What do other learners have to say?
I've used other sites—Coursera, Udacity, things like that—but DataCamp's been the one that I've stuck with.
Devon Edwards Joseph
Lloyds Banking Group
DataCamp is the top resource I recommend for learning data science.
Louis Maiden
Harvard Business School
DataCamp is by far my favorite website to learn from.
Ronald Bowers
Decision Science Analytics, USAA
Join over 9 million learners and start Sentiment Analysis in R today!
Create Your Free Account
or
By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA. You confirm you are at least 16 years old (13 if you are an authorized Classrooms user).