SlideShare a Scribd company logo
SENTIMENT	
ANALYSIS
Why and How
Swiss	Group	for	Artificial	Intelligence	and	Cognitive	Science	- 2nd SGAICO	at	HSLU	– May	23rd,	2017
https://sgaico.swissinformatics.org/
Who	am	I
Dr.	Amancio	Bouza
Intrapreneur &	Artificial	Intelligence	Expert
Let’s	connect:
https://ch.linkedin.com/in/amanciobouza
Follow	me:
https://twitter.com/AmancioBouza
3
WHY?Do	we	want	Sentiment	Analysis
4
Identify	(un)happy	customers?
Simple	Alternative:	Net	Promoter	Score	(NPS)
How	likely	do	you	recommend	
Travelito to	your	friends?
5
very unlikely very likely
6
So,	WHY
then?
7
1. Improve	Products
2. Enable	Closed-Loop	
Customer	Experience
3. Understand	Competition
8
How	to	improve	Products
9
“The	bed	in	the	City	Hotel was	not	
comfortable.
However,	the	breakfast was	
excellent	with	good	food	and	
excellent	service.
We	had	a	wonderful	time	and	will	
travel	with	Travelito again.”
Example	of	customer	feedback	for	anonymized	company	in	tourism	industry
Analyze	Entities	Related	to	Negative	Feedbacks	and	Drill	Down
10
Named	Entity	
Recognition:
- Organization
- Location
- Person
Can	you	
spot	the	
problem?	;)
11
Enable	Closed-Loop	Customer	
Experiences
React	in	Real-Time	to	Customer	Disatisfaction
12
End-Customers	tell	you	
if	they	are	unhappy
Rest	assured	
they	tell	the	
world	too!
13
Happy	Customers	
Come	Back
Happy	Customers	
Become	Fans	and	
Spread	the	Word
Use	Social	Media	Channels	for	Real-Time	Sentiment	
Analysis
14
Mitigate	
Dissatisfaction	at	
the	right	time
Keep	
retention	
(loyalty)	and	
referrals	high
15
Competition	Intelligence
Identify	Strength	and	Weaknesses	of	Competition
16
Find	out	Competitive	Advantage	of	
your	Competition…
…and
Make	it	Better	or
Make	it	Irrelevant
Find	Info	on	Review	Platforms
17
18
WHAT?Is	the	Challenge
Customers	do	
provide	feedback,	
lots of	feedback
…	and	that’s	GREAT!
20
But	How	to	Process	so	
Many	Customer	
Feedbacks?
21
22
HOW?To	do	Sentiment	Analysis
Let’s	try	
Sentiment	
Analysis	with	
Machine	Learning
24
Disclaimer
Sentiment	Analysis	PoC	was	done	in	few	days
No	extra	Cognitive	Services	used	besides	ML	Studio
Dataset	consisted	of	40k	customer	feedbacks
Prior-Probability	of	negative	Feedback	~45%
Evaluation	was	done	with	10-fold	Cross	Validation
Proposal
25
Use	
whatever	
you	want
Following	the	Lean	Approach Follow	the	
Lean	Approach
CRISP-DM
Cross	Industry	Standard	
Process	for	Data	Mining
26
27
Sentiment	Analysis	PoC	in	a	Nutshell
Data	Cleaning
Remove	uncomplete	data
Data	Preparation
What	to	learn	,	i.e.,	sentiment
How	to	learn,	i.e.,	cognitive	computing
Machine	Learning
Learn	to	identify	sentiments
Sentiment	Analysis
Identify	sentiments	in	customer	feedback
28
29
Common	Text	Preprocessing	applied
- Lemmatization
- Normalize	Lower	Case
- and	much	more
Best	Performer	for	this	dataset
Two-Class	Boosted	
Decision	Tree
500	Features	were	selected	for	this	dataset	selected	with	 𝜒2
Extraction	of	N-Gram	Features	
from	Text
Key	Experiences	with	Azure	ML	Studio	for	Sentiment	Analysis
+	1-Gram	Features	provided	best	results
+	Preprocessing	and	Normalization	of	Text	is	simple
- Data	Preparation	was	cumbersome	with	built-in	function	blocks	->	use	R
- Key	Phrase	Extraction	was	useless	to	extract	sentiments
- Handover	of	ML	Workspace	to	others	is	complicated
- Automated	creation	of	Web	Service	isn’t	intuitive.	Requires	rethinking	of	the	ML	workflow
+	However,	it	provides	great	API	Documentation,	Sandbox	and	examples	on	the	fly
+	Intuitive	Machine	Learning	Studio
+	Fast	&	simple	setup	of	(scientifically	valid)	experiments
+	High	Computational	Performance
+	Support	for	R	/	R	required	for	advanced	stuff,	data	preparation	in	particular	
30
31
WHAT?Is	the	Result
32
“The	bed	in	the	City	Hotel was	not	
comfortable.
However,	the	breakfast was	
excellent	with	good	food	and	
excellent	service.
We	had	a	wonderful	time	and	will	
travel	with	Travelito again.”
Example	of	customer	feedback	for	anonymized	company	in	tourism	industry
Sentiment	Analysis	PoC	ranks	with	human	to	interpret	sentiment
33
79%	
Accuracy
Evaluation	results	in	detail:	79%	Accuracy
34
Accuracy Precision Recall F-Score AUC
0.788 0.751 0.733 0.742 0.853
Take	Home	Message:	WHY	do	we	do	Sentiment	Analysis
35
Improve	Products Closed-Loop	
Customer	Experience
Competition	
Intelligence
Who	am	I
Dr.	Amancio	Bouza
Intrapreneur &	Artificial	Intelligence	Expert
Let’s	connect:
https://ch.linkedin.com/in/amanciobouza
Follow	me:
https://twitter.com/AmancioBouza

More Related Content

PPTX
PDF
Text and Sentiment Analytics for Business Intelligence
PPTX
How Is Sentiment Analysis On Reviews Done.pptx
PPTX
How Does Customer Feedback Sentiment Analysis Work in Search Marketing?
PPTX
SENTIMENT ANALYSIS OF FEEDBACK DATA USING MACHINE LEARNING TECHNIQUE.pptx
PPTX
Sentiment analysis presentation
PPTX
Hotel industry sentiment analytics
PDF
Benefit of Sentiment Analysis in Various Industries - Bytesview
Text and Sentiment Analytics for Business Intelligence
How Is Sentiment Analysis On Reviews Done.pptx
How Does Customer Feedback Sentiment Analysis Work in Search Marketing?
SENTIMENT ANALYSIS OF FEEDBACK DATA USING MACHINE LEARNING TECHNIQUE.pptx
Sentiment analysis presentation
Hotel industry sentiment analytics
Benefit of Sentiment Analysis in Various Industries - Bytesview

Similar to Sentiment Analysis - Why You should Do it and How you can do it (14)

PDF
System Analysis & Design Presentation.pdf
PDF
76 s201909
PDF
AI for sentiment analysis - An Overview.pdf
PPTX
Sentiment Analysis Use Cases
PPTX
Customer Sentiment Analysis.pptx
PDF
Customer Sentiment Analyzer | V-retail Intelligence Hub
PDF
From Data to Business Success Role of AI in Sentiment Analysis.pdf
PPTX
Reviews Sentiment Analysis
PPTX
Web Scraping Travel Industry Reviews for Sentiment Analysis.pptx
PPTX
A presentation on Sentiment Analysis....
PDF
Sentiment Analysis
PDF
Managing your digital reputation
PPTX
Features of sentiment analysis
PPTX
Sentiment analysis of Restaurant reviews ppt
System Analysis & Design Presentation.pdf
76 s201909
AI for sentiment analysis - An Overview.pdf
Sentiment Analysis Use Cases
Customer Sentiment Analysis.pptx
Customer Sentiment Analyzer | V-retail Intelligence Hub
From Data to Business Success Role of AI in Sentiment Analysis.pdf
Reviews Sentiment Analysis
Web Scraping Travel Industry Reviews for Sentiment Analysis.pptx
A presentation on Sentiment Analysis....
Sentiment Analysis
Managing your digital reputation
Features of sentiment analysis
Sentiment analysis of Restaurant reviews ppt
Ad

More from Amancio Bouza (15)

PDF
Building API Product that Customers and Your Organization Love
PDF
10 Learnings About Work, Life, and Magic
PDF
10 Things I Wish I Knew 10 Years Ago
PDF
Open API and the Impact on Business Models
PDF
How an API Product Transformes the Business Model of an NGO
PDF
API Product Management for Product Managers
PDF
Artificial Intelligence or Intelligence Amplification
PDF
5 Things Every Product Leader Needs to Know About API
PDF
3 Strategies for Business Innovation with Artificial Intelligence and Sentmie...
PDF
How to Do Personal Branding
PDF
Guide to Recommender Systems
PDF
How to Run a Lean Startup
PDF
UBS Web 2.0 Contest: Recommender Systems for Financial Institutes
PDF
Kunendo - Crowd Source Translations
PDF
Hypothesis-Based Collaborative Filtering
Building API Product that Customers and Your Organization Love
10 Learnings About Work, Life, and Magic
10 Things I Wish I Knew 10 Years Ago
Open API and the Impact on Business Models
How an API Product Transformes the Business Model of an NGO
API Product Management for Product Managers
Artificial Intelligence or Intelligence Amplification
5 Things Every Product Leader Needs to Know About API
3 Strategies for Business Innovation with Artificial Intelligence and Sentmie...
How to Do Personal Branding
Guide to Recommender Systems
How to Run a Lean Startup
UBS Web 2.0 Contest: Recommender Systems for Financial Institutes
Kunendo - Crowd Source Translations
Hypothesis-Based Collaborative Filtering
Ad

Recently uploaded (20)

DOCX
Factor Analysis Word Document Presentation
PDF
Optimise Shopper Experiences with a Strong Data Estate.pdf
PPT
lectureusjsjdhdsjjshdshshddhdhddhhd1.ppt
PPTX
FMIS 108 and AISlaudon_mis17_ppt_ch11.pptx
PDF
Tetra Pak Index 2023 - The future of health and nutrition - Full report.pdf
PPTX
modul_python (1).pptx for professional and student
PPTX
AI Strategy room jwfjksfksfjsjsjsjsjfsjfsj
PDF
Global Data and Analytics Market Outlook Report
PPTX
STERILIZATION AND DISINFECTION-1.ppthhhbx
PDF
Data Engineering Interview Questions & Answers Cloud Data Stacks (AWS, Azure,...
PDF
Capcut Pro Crack For PC Latest Version {Fully Unlocked 2025}
PDF
REAL ILLUMINATI AGENT IN KAMPALA UGANDA CALL ON+256765750853/0705037305
PPTX
Topic 5 Presentation 5 Lesson 5 Corporate Fin
PDF
Microsoft Core Cloud Services powerpoint
PDF
Introduction to Data Science and Data Analysis
PPTX
IMPACT OF LANDSLIDE.....................
PDF
annual-report-2024-2025 original latest.
PPTX
Leprosy and NLEP programme community medicine
PDF
Microsoft 365 products and services descrption
PDF
Votre score augmente si vous choisissez une catégorie et que vous rédigez une...
Factor Analysis Word Document Presentation
Optimise Shopper Experiences with a Strong Data Estate.pdf
lectureusjsjdhdsjjshdshshddhdhddhhd1.ppt
FMIS 108 and AISlaudon_mis17_ppt_ch11.pptx
Tetra Pak Index 2023 - The future of health and nutrition - Full report.pdf
modul_python (1).pptx for professional and student
AI Strategy room jwfjksfksfjsjsjsjsjfsjfsj
Global Data and Analytics Market Outlook Report
STERILIZATION AND DISINFECTION-1.ppthhhbx
Data Engineering Interview Questions & Answers Cloud Data Stacks (AWS, Azure,...
Capcut Pro Crack For PC Latest Version {Fully Unlocked 2025}
REAL ILLUMINATI AGENT IN KAMPALA UGANDA CALL ON+256765750853/0705037305
Topic 5 Presentation 5 Lesson 5 Corporate Fin
Microsoft Core Cloud Services powerpoint
Introduction to Data Science and Data Analysis
IMPACT OF LANDSLIDE.....................
annual-report-2024-2025 original latest.
Leprosy and NLEP programme community medicine
Microsoft 365 products and services descrption
Votre score augmente si vous choisissez une catégorie et que vous rédigez une...

Sentiment Analysis - Why You should Do it and How you can do it