SlideShare a Scribd company logo
1 of 44
Download to read offline
Conduct Sentiment Analysis to Improve Customer
Centric with Python
Dr. Windu, Gata, M.Kom
Internal Trainer Multimatics
IT Consultant since 1995
Lecturer since 2003
Computer Researcher 2008
Dr. Windu Gata, M.Kom
Profile
Sentimen
Sentimen/sen·ti·men/ /séntimén/
1 n pendapat atau pandangan yang
didasarkan pada perasaan yang berlebih-
lebihan terhadap sesuatu (bertentangan
dengan pertimbangan pikiran): keputusan
yang dihasilkan akan tidak adil jika disertai
rasa -- pribadi;
2 n emosi yang berlebihan: rasa -- sebagai
bangsa Indonesia akan tumbuh kuat jika
kita jauh dari negeri ini;
3 a cak iri hati; tidak senang; dendam;
4 n reaksi yang tidak
menguntungkan: penurunan harga saham
hanya disebabkan oleh -- pasar
Definisi sentimen : ks, iri hati, tidak senang; dendam.
Sentiment
Data from Oxford Languages
Sentiment Analysis
• Sentiment Analysis, also called opinion mining, is the
field of study that analyzes people's opinions,
sentiments, appraisal, attitude, and emotions toward
entities and their attributes expressed in written text.
• Sentiment analysis is an analytical approach, which
is used for text analysis. The aim of sentiment
analysis ito determine the opinion and subjectivity of
any opinion, review or tweet
Sentiment Analysis
Source: What is Sentiment Analysis and How Does It Work? - REEA GLOBAL
Benefit Sentiment Analysis to Improve Customer Centric
Source Source 2
Upselling
Opportunities
Agent Monitoring Training Chatbot Identifying key emotional triggers Handling multiple customers
Adaptive customer
service
Live Insight
Live Insight Quick Escalation Reduce customer
churn
Tracking overall customer satisfaction
Example Usages of Sentiment Analysis
Souce 2018
Nike – Brand Monitoring
Customers Love Being Heard
#justburnit
Souce
Take Nike’s recent marketing campaign involving controversial
National Football League quarterback Colin Kaepernick
Example Usages of Sentiment Analysis
Source
Positive sentiment for
Nike actually increased
after the controversial ad
was released. In fact,
Nike’s overall sales
jumped more than 31%.
Example Usages of Sentiment Analysis
Keeping an Eye on Your Competition
McDonalds vs. Burger King
Souce Because of parodi
Example Usages of Sentiment Analysis
Souce
Social Media
Monitoring –
US Airline 2015
Souce 2
Sentiment Analysis
Natural Languange Processing (NLP)
Natural Language Processing
SENTENCE
TEXT PROCESSING
ALGORITHM
EVALUATION
TEXT (Unstructure)
Python Library and other
matplotlib
Wordcloud GataFramework
Yuk Ngoding Python !!
Persiapan:
- Anaconda
- Jupiter Notebook
- Atau Spyder
- Google Colab
- New Notebook
NLP - Start
Saya Sedang Berpergian ke Pasar
membeli ikan, karena saya suka
banget sama ikan
Text – Unstructured Data
[
'Saya’,
'Sedang’,
'Berpergian’,
'ke’,
'Pasar’,
'membeli’,
'ikan’,
',’,
'karena’,
'saya’,
'suka’,
'banget’,
'sama’,
'ikan’
]
Array
NLP – Start
NLP – Frequency of Words
vartext = str.lower(vartext)
Transform Cases → Change to lower case
NLP – Plot the Graph
NLP – Remove Punctuation
NLP – Stopwords Using Spacy
NLP – Stopwords Using NLTK
NLP – Word Cloud
NLP – Remove # dan @
NLP – Stemming Indonesia (Sastrawi)
NLP – Preprocessing Indonesia (Gataframework)
NLP – Contoh Data
https://drive.google.com/file/d/1KtrR02nHzed1UpgjntpOkyML7qW7ZGYc/view?usp=sharing
NLP – Persiapan Data
NLP – Visualisasi
NLP – Preprocessing - Gata
NLP – Preprocessing
NLP – Training Testing – SVM Model
NLP – Evaluation
NLP – Testing New Data
Naïve Bayes
K-NN
Decision Tree
Logistic Regression
Deep Learning – Load Data
Deep Learning – Model Summary
Deep Learning – Model Fit
Deep Learning - Predict
Literature
• Liu, B. 2020. Sentiment Analysis - Mining
Opinions, Sentiments, and Emotions. Cambridge
University Press
• Rajput, D. D., et al. 2018. Sentiment Analysis
and Knowledge Discovery in Contemporary
Business
• http://www.gataframework.com
• Google Images
Conduct Sentiment Analysis to Improve Customer Centric with Python.pdf

More Related Content

Similar to Conduct Sentiment Analysis to Improve Customer Centric with Python.pdf

To Label or Not? Advances and Open Challenges in SE-specific Sentiment Analysis
To Label or Not? Advances and Open Challenges in SE-specific Sentiment AnalysisTo Label or Not? Advances and Open Challenges in SE-specific Sentiment Analysis
To Label or Not? Advances and Open Challenges in SE-specific Sentiment AnalysisNicole Novielli
 
Sentiment Analysis
Sentiment AnalysisSentiment Analysis
Sentiment AnalysisAditya Nag
 
A Summary of Neuromarketing
A Summary of Neuromarketing A Summary of Neuromarketing
A Summary of Neuromarketing The Royals
 
Sentiment analysis using nlp
Sentiment analysis using nlpSentiment analysis using nlp
Sentiment analysis using nlpAnand Narayanan
 
Computer-Assisted Consumer Profiles on Twitter
Computer-Assisted Consumer Profiles on TwitterComputer-Assisted Consumer Profiles on Twitter
Computer-Assisted Consumer Profiles on Twitterolindgallet
 
Spotle AI-thon Top 10 Showcase - Analysing Mental Health Of India - Team Zer...
 Spotle AI-thon Top 10 Showcase - Analysing Mental Health Of India - Team Zer... Spotle AI-thon Top 10 Showcase - Analysing Mental Health Of India - Team Zer...
Spotle AI-thon Top 10 Showcase - Analysing Mental Health Of India - Team Zer...Spotle.ai
 
SENTIMENT ANALYSIS APPROACH IN NATURAL LANGUAGE PROCESSING FOR DATA EXTRACTION
SENTIMENT ANALYSIS APPROACH IN NATURAL LANGUAGE PROCESSING FOR DATA EXTRACTIONSENTIMENT ANALYSIS APPROACH IN NATURAL LANGUAGE PROCESSING FOR DATA EXTRACTION
SENTIMENT ANALYSIS APPROACH IN NATURAL LANGUAGE PROCESSING FOR DATA EXTRACTIONIAEME Publication
 
Social Web 2014: Final Presentations (Part I)
Social Web 2014: Final Presentations (Part I)Social Web 2014: Final Presentations (Part I)
Social Web 2014: Final Presentations (Part I)Lora Aroyo
 
Emotion analysis
Emotion analysisEmotion analysis
Emotion analysisBytesview
 
#ThinkPH Social Media Sentiment Analysis
#ThinkPH Social Media Sentiment Analysis#ThinkPH Social Media Sentiment Analysis
#ThinkPH Social Media Sentiment AnalysisRobin Leonard
 
Size Of Writing Paper. Writing Paper Sizes Chart. 2019-01-16
Size Of Writing Paper. Writing Paper Sizes Chart. 2019-01-16Size Of Writing Paper. Writing Paper Sizes Chart. 2019-01-16
Size Of Writing Paper. Writing Paper Sizes Chart. 2019-01-16Kimberly Gomez
 
Sentiment Analyzer
Sentiment AnalyzerSentiment Analyzer
Sentiment AnalyzerAnkit Raj
 
opinionmining-131221011849-phpapp02-converted.ppt
opinionmining-131221011849-phpapp02-converted.pptopinionmining-131221011849-phpapp02-converted.ppt
opinionmining-131221011849-phpapp02-converted.pptssuser059331
 
Testing United 2021: The hidden logic of thinking for testers.pdf
Testing United 2021: The hidden logic of thinking for testers.pdfTesting United 2021: The hidden logic of thinking for testers.pdf
Testing United 2021: The hidden logic of thinking for testers.pdfNITHIN S.S
 
Emotion detection from text using data mining and text mining
Emotion detection from text using data mining and text miningEmotion detection from text using data mining and text mining
Emotion detection from text using data mining and text miningSakthi Dasans
 
NLP sentiment analysis
NLP sentiment analysisNLP sentiment analysis
NLP sentiment analysisRepustate
 
Opinion Mining
Opinion MiningOpinion Mining
Opinion MiningAli Habeeb
 
How Sentiment Analysis works
How Sentiment Analysis worksHow Sentiment Analysis works
How Sentiment Analysis worksCJ Jenkins
 

Similar to Conduct Sentiment Analysis to Improve Customer Centric with Python.pdf (20)

To Label or Not? Advances and Open Challenges in SE-specific Sentiment Analysis
To Label or Not? Advances and Open Challenges in SE-specific Sentiment AnalysisTo Label or Not? Advances and Open Challenges in SE-specific Sentiment Analysis
To Label or Not? Advances and Open Challenges in SE-specific Sentiment Analysis
 
Sentiment Analysis
Sentiment AnalysisSentiment Analysis
Sentiment Analysis
 
A Summary of Neuromarketing
A Summary of Neuromarketing A Summary of Neuromarketing
A Summary of Neuromarketing
 
Sentiment analysis using nlp
Sentiment analysis using nlpSentiment analysis using nlp
Sentiment analysis using nlp
 
Sentimental analysis
Sentimental analysisSentimental analysis
Sentimental analysis
 
Computer-Assisted Consumer Profiles on Twitter
Computer-Assisted Consumer Profiles on TwitterComputer-Assisted Consumer Profiles on Twitter
Computer-Assisted Consumer Profiles on Twitter
 
Spotle AI-thon Top 10 Showcase - Analysing Mental Health Of India - Team Zer...
 Spotle AI-thon Top 10 Showcase - Analysing Mental Health Of India - Team Zer... Spotle AI-thon Top 10 Showcase - Analysing Mental Health Of India - Team Zer...
Spotle AI-thon Top 10 Showcase - Analysing Mental Health Of India - Team Zer...
 
SENTIMENT ANALYSIS APPROACH IN NATURAL LANGUAGE PROCESSING FOR DATA EXTRACTION
SENTIMENT ANALYSIS APPROACH IN NATURAL LANGUAGE PROCESSING FOR DATA EXTRACTIONSENTIMENT ANALYSIS APPROACH IN NATURAL LANGUAGE PROCESSING FOR DATA EXTRACTION
SENTIMENT ANALYSIS APPROACH IN NATURAL LANGUAGE PROCESSING FOR DATA EXTRACTION
 
Z 3d 2 - quality auditors-skills-attributes
Z 3d   2 - quality auditors-skills-attributesZ 3d   2 - quality auditors-skills-attributes
Z 3d 2 - quality auditors-skills-attributes
 
Social Web 2014: Final Presentations (Part I)
Social Web 2014: Final Presentations (Part I)Social Web 2014: Final Presentations (Part I)
Social Web 2014: Final Presentations (Part I)
 
Emotion analysis
Emotion analysisEmotion analysis
Emotion analysis
 
#ThinkPH Social Media Sentiment Analysis
#ThinkPH Social Media Sentiment Analysis#ThinkPH Social Media Sentiment Analysis
#ThinkPH Social Media Sentiment Analysis
 
Size Of Writing Paper. Writing Paper Sizes Chart. 2019-01-16
Size Of Writing Paper. Writing Paper Sizes Chart. 2019-01-16Size Of Writing Paper. Writing Paper Sizes Chart. 2019-01-16
Size Of Writing Paper. Writing Paper Sizes Chart. 2019-01-16
 
Sentiment Analyzer
Sentiment AnalyzerSentiment Analyzer
Sentiment Analyzer
 
opinionmining-131221011849-phpapp02-converted.ppt
opinionmining-131221011849-phpapp02-converted.pptopinionmining-131221011849-phpapp02-converted.ppt
opinionmining-131221011849-phpapp02-converted.ppt
 
Testing United 2021: The hidden logic of thinking for testers.pdf
Testing United 2021: The hidden logic of thinking for testers.pdfTesting United 2021: The hidden logic of thinking for testers.pdf
Testing United 2021: The hidden logic of thinking for testers.pdf
 
Emotion detection from text using data mining and text mining
Emotion detection from text using data mining and text miningEmotion detection from text using data mining and text mining
Emotion detection from text using data mining and text mining
 
NLP sentiment analysis
NLP sentiment analysisNLP sentiment analysis
NLP sentiment analysis
 
Opinion Mining
Opinion MiningOpinion Mining
Opinion Mining
 
How Sentiment Analysis works
How Sentiment Analysis worksHow Sentiment Analysis works
How Sentiment Analysis works
 

Recently uploaded

CALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service OnlineCALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service Onlineanilsa9823
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusTimothy Spann
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Delhi Call girls
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxfirstjob4
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...amitlee9823
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxolyaivanovalion
 
Call Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girl
Call Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girlCall Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girl
Call Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girlkumarajju5765
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFxolyaivanovalion
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionfulawalesam
 
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Delhi Call girls
 
ALSO dropshipping via API with DroFx.pptx
ALSO dropshipping via API with DroFx.pptxALSO dropshipping via API with DroFx.pptx
ALSO dropshipping via API with DroFx.pptxolyaivanovalion
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfLars Albertsson
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxolyaivanovalion
 
Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...shambhavirathore45
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfRachmat Ramadhan H
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxolyaivanovalion
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysismanisha194592
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxJohnnyPlasten
 

Recently uploaded (20)

CALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service OnlineCALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service Online
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and Milvus
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptx
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptx
 
Call Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girl
Call Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girlCall Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girl
Call Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girl
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFx
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interaction
 
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
 
ALSO dropshipping via API with DroFx.pptx
ALSO dropshipping via API with DroFx.pptxALSO dropshipping via API with DroFx.pptx
ALSO dropshipping via API with DroFx.pptx
 
Sampling (random) method and Non random.ppt
Sampling (random) method and Non random.pptSampling (random) method and Non random.ppt
Sampling (random) method and Non random.ppt
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdf
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptx
 
Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysis
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 

Conduct Sentiment Analysis to Improve Customer Centric with Python.pdf