SlideShare a Scribd company logo
2
Most read
6
Most read
11
Most read
Sentiment Analysis
using Python and ML
Abhinav Sachan(1616410005)
Prakhar Srivastava(1616410178)
Pravin Singh Katiyar(1616410194)
Pranveer Singh Institute Of
Technology
WHAT IS MACHINE LEARNING ?
 Machine learning is an application of artificial intelligence (AI) that provides
systems the ability to automatically learn and improve from experience without
being explicitly programmed.
SUPERVISED LEARNING:
Supervised learning as the name indicates a presence of supervisor as teacher.
Basically supervised learning is a learning in which we teach or train the machine
using data which is well labeled that means some data is already tagged with
correct answer. After that, machine is provided with new set of examples(data) so
that supervised learning algorithm analyses the training data(set of training
examples) and produces an correct outcome from labeled data.
UN-SUPERVISED LEARNING:
 Unsupervised learning is the training of machine using information that is
neither classified nor labeled and allowing the algorithm to act on that
information without guidance. Here the task of machine is to group unsorted
information according to similarities, patterns and differences without any prior
training of data.
 Unlike supervised learning, no teacher is provided that means no training will
be given to the machine. Therefore machine is restricted to find the hidden
structure in unlabeled data by our-self.
WHAT IS SENTIMENT ANALYSIS OR
OPINION MINING ?
 In simple words…
“The practice of applying
Natural Language Processing and Text Analysis
Technique to identify
And extract
Subjective information from a piece of text”
WHAT IS SENTIMENT ANALYSIS?
 It is classification of the polarity of given text in a document ,sentence or
phrase.
 The goal is to determine whether the expressed opinion in the text is
positive , negative or neutral.
 Enable us to track attitudes and feeling on web based on blog posts,
comments , reviews and tweets on differ topics
 Gives insight into the emotions behind the words.
WHAT IS SENTIMENT ANALYSIS?
MOTIVATION
 An aspect of social media data such as Twitter, face book messages and IMDb
, amazon is that it includes rich structured information about the individuals
involved in the communication.
 Online sites can be a genuine source for collecting opinions.
 It can lead to more accurate tools for extracting semantic information.
 It provides means for empirically studying properties of social interactions.
TARGETED WORDS :
PROBLEM STATEMENT
 The problem in sentiment analysis is classifying the polarity of a given text at the
document, sentence, or feature/aspect level .
 Whether the expressed opinion in a document, a sentence or an entity
feature/aspect is positive, negative, or neutral .
 A major benefit of social media is that we can see the good and bad things people
say about the particular brand or personality.
 The bigger your company gets difficult it becomes to keep a handle on how
everyone feels about your brand.
 For large companies with thousands of daily mentions on social media, news sites
and blogs, it's extremely difficult to do this manually.
 To combat this problem, sentimental analysis software are necessary. These soft
wares can be used to evaluate the people's sentiment about particular brand or
personality.
OVERVIEW OF WORKING OF
SENTIMENT ANALYSIS
WORKING:
Data Collection :
Public sentiments from consumers expressed on public
forums and on social network are collected Opinions and
feelings are expressed in different way, with different
vocabulary, context of writing, usage of short forms and slang,
makes data huge and disorganized.
WORKING:
Analyze Data:
Text Preparation Data is extracted and filtered before analysis
Non-textual content and content is identified and eliminated if
it is irrelevant Sentiment Detection .
Ex: keywords like “a,an,the,or etc” are eliminated.
Each sentence and opinion is examined for subjectivity
Sentences with subjective expressions are retained and ones
that convey objective expressions are discarded.
WORKING:
Indexing:
Sentiments can be broadly classified into two groups, positive
and negative Each subjective sentence is classified into
positive, negative, good, bad, like, dislike
WORKING:
Delivery :
(Presentation of Output) The result of converted unstructured
text into meaningful information Usually displayed as graphs
for easy interpretation.
PROPOSED METHODOLOGY:
CHALLENGES:
WHY TWITTER?
 Data: Twitter gives plenty of data. For analysis, it's almost like picking a needle
from a haystack. Finding relevant tweets, removing noise, takes a little extra
effort.
 Informal Language: Tweets don't follow the conventional grammatical structure.
We've got cases like:
 "OMG that's soooooo cool"
 "His moves are sick, man."
 "The iPhone's perfect for my insta."
 "he's on stage, i;m crYING halp !!11!!“
Opinions: Twitter opinions are sensitive to the user. They're also dependent on
author authority- a 14 year old girl's opinion on a novel may not hold the same
weight-age as that of another writer's.
ALGORITHMS TO BE IMPLEMENTED
1. Naive Bayes Classifier : Naive Bayes Classifier uses far less computing power
compared to other methods and often is a baseline method for many models.
2. Maximum Entropy Classifier: Maximum Entropy Classifier is a parameterized
method and works by extracting features from the text and combining the features
in a linear fashion for classification. This is a member of the log-linear or
exponential family of classifiers.
3. Decision Tree: Decision Tree works by creating a decision tree of root,
branches and leaves, creating a decision point at every branch. The decision is
taken at the leaf node.
TECHNOLOGY TO BE USED
 Concepts of Data Mining and Information and Information Retrieval.
 Python Language
 Twitter data set for training set
 Tweepy: Tweepy, the Python client for the official Twitter that supports
accessing Twitter via Basic Authentication and the newer method, OAuth.
Twitter has stopped accepting Basic Authentication.
 TextBlob: TextBlob, one of the popular Python libraries for processing textual
data, stands on the NLTK . TextBlob has some advanced features like –
Sentiment Extraction
Spelling Correction
 NLTK (Natural Language Toolkit)
USP(UNIQUE SELLING PROPORTION)
OF WORK
 Sentiment analysis is extremely useful in social media monitoring as it allows
us to gain an overview of the wider public opinion behind certain topics.
 Through comprehensive analysis, businesses gain valuable insights towards
their customers
HOW IT CAN BE HELPFUL ?
ROLE OF INDIVIDUAL MEMBERS
 Prakhar Srivastava:
Development and Model Training.
 Abhinav Sachan:
Development and Collecting Dataset.
 Pravin Singh Katiyar:
Development and Testing.
THANK
YOU

More Related Content

PDF
Sentiment analysis - Our approach and use cases
PDF
Sentiment analysis of Twitter Data
PPTX
Sentiment Analysis
PPTX
Twitter sentiment analysis
PPTX
New sentiment analysis of tweets using python by Ravi kumar
PPTX
Approaches to Sentiment Analysis
PPTX
Sentiment Analysis in Twitter
PPTX
Sentiment Analaysis on Twitter
Sentiment analysis - Our approach and use cases
Sentiment analysis of Twitter Data
Sentiment Analysis
Twitter sentiment analysis
New sentiment analysis of tweets using python by Ravi kumar
Approaches to Sentiment Analysis
Sentiment Analysis in Twitter
Sentiment Analaysis on Twitter

What's hot (20)

PPTX
Sentiment Analysis using Twitter Data
PPTX
Twitter sentiment analysis ppt
DOCX
Twitter sentiment analysis project report
PPTX
Sentiment Analysis Using Twitter
PPTX
Twitter sentiment analysis ppt
PPTX
Sentiment Analysis Using Machine Learning
PPT
Twitter sentiment-analysis Jiit2013-14
DOCX
Python report on twitter sentiment analysis
PPTX
social network analysis project twitter sentimental analysis
PPTX
Twitter sentiment analysis
PDF
Sentiment Analysis of Twitter Data
PPTX
Twitter Sentiment Analysis
PPTX
Sentiment analysis of twitter data
PPTX
Sentiment Analysis on Twitter
PPTX
Sentiment Analysis
PPTX
Sentiment analysis of tweets
PDF
Amazon sentimental analysis
PPTX
Sentiment analysis of Twitter data using python
PPTX
Sentiment analysis
PPTX
Sentiment analysis
Sentiment Analysis using Twitter Data
Twitter sentiment analysis ppt
Twitter sentiment analysis project report
Sentiment Analysis Using Twitter
Twitter sentiment analysis ppt
Sentiment Analysis Using Machine Learning
Twitter sentiment-analysis Jiit2013-14
Python report on twitter sentiment analysis
social network analysis project twitter sentimental analysis
Twitter sentiment analysis
Sentiment Analysis of Twitter Data
Twitter Sentiment Analysis
Sentiment analysis of twitter data
Sentiment Analysis on Twitter
Sentiment Analysis
Sentiment analysis of tweets
Amazon sentimental analysis
Sentiment analysis of Twitter data using python
Sentiment analysis
Sentiment analysis
Ad

Similar to Sentiment analysis using ml (20)

PDF
A Survey on Analysis of Twitter Opinion Mining using Sentiment Analysis
PPTX
REPORT Sentiment_Analysis_of_Social_Media (5).pptx
PDF
IRJET - Twitter Sentiment Analysis using Machine Learning
PDF
Sentiment Analysis using Machine Learning.pdf
PPTX
Presentation on Sentiment Analysis
PPTX
Minor project.pptx
PPTX
Sentimental Analysis - Naive Bayes Algorithm
PDF
IRJET - Sentiment Analysis for Marketing and Product Review using a Hybrid Ap...
PDF
IRJET- Real Time Sentiment Analysis of Political Twitter Data using Machi...
PDF
IRJET - Implementation of Twitter Sentimental Analysis According to Hash Tag
PDF
IRJET- The Sentimental Analysis on Product Reviews of Amazon Data using the H...
PDF
IRJET- Sentiment Analysis of Twitter Data using Python
PDF
UTILIZING TWITTER TO PERFORM AUTONOMOUS SENTIMENT ANALYSIS
PPTX
Opinion Mining or Sentiment Analysis
PDF
Sentiment Analysis on Twitter Data
PDF
Sentimental Emotion Analysis using Python and Machine Learning
PDF
Sentiment Analysis on Twitter Dataset using R Language
PDF
IRJET- Interpreting Public Sentiments Variation by using FB-LDA Technique
PPTX
A presentation on Sentiment Analysis....
PDF
Sentimental analysis
A Survey on Analysis of Twitter Opinion Mining using Sentiment Analysis
REPORT Sentiment_Analysis_of_Social_Media (5).pptx
IRJET - Twitter Sentiment Analysis using Machine Learning
Sentiment Analysis using Machine Learning.pdf
Presentation on Sentiment Analysis
Minor project.pptx
Sentimental Analysis - Naive Bayes Algorithm
IRJET - Sentiment Analysis for Marketing and Product Review using a Hybrid Ap...
IRJET- Real Time Sentiment Analysis of Political Twitter Data using Machi...
IRJET - Implementation of Twitter Sentimental Analysis According to Hash Tag
IRJET- The Sentimental Analysis on Product Reviews of Amazon Data using the H...
IRJET- Sentiment Analysis of Twitter Data using Python
UTILIZING TWITTER TO PERFORM AUTONOMOUS SENTIMENT ANALYSIS
Opinion Mining or Sentiment Analysis
Sentiment Analysis on Twitter Data
Sentimental Emotion Analysis using Python and Machine Learning
Sentiment Analysis on Twitter Dataset using R Language
IRJET- Interpreting Public Sentiments Variation by using FB-LDA Technique
A presentation on Sentiment Analysis....
Sentimental analysis
Ad

Recently uploaded (20)

PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
Construction Project Organization Group 2.pptx
PDF
composite construction of structures.pdf
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
Welding lecture in detail for understanding
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
web development for engineering and engineering
PPTX
Lecture Notes Electrical Wiring System Components
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
Geodesy 1.pptx...............................................
PPTX
Sustainable Sites - Green Building Construction
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Construction Project Organization Group 2.pptx
composite construction of structures.pdf
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Embodied AI: Ushering in the Next Era of Intelligent Systems
Welding lecture in detail for understanding
Automation-in-Manufacturing-Chapter-Introduction.pdf
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
web development for engineering and engineering
Lecture Notes Electrical Wiring System Components
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Geodesy 1.pptx...............................................
Sustainable Sites - Green Building Construction

Sentiment analysis using ml

  • 1. Sentiment Analysis using Python and ML Abhinav Sachan(1616410005) Prakhar Srivastava(1616410178) Pravin Singh Katiyar(1616410194) Pranveer Singh Institute Of Technology
  • 2. WHAT IS MACHINE LEARNING ?  Machine learning is an application of artificial intelligence (AI) that provides systems the ability to automatically learn and improve from experience without being explicitly programmed.
  • 3. SUPERVISED LEARNING: Supervised learning as the name indicates a presence of supervisor as teacher. Basically supervised learning is a learning in which we teach or train the machine using data which is well labeled that means some data is already tagged with correct answer. After that, machine is provided with new set of examples(data) so that supervised learning algorithm analyses the training data(set of training examples) and produces an correct outcome from labeled data.
  • 4. UN-SUPERVISED LEARNING:  Unsupervised learning is the training of machine using information that is neither classified nor labeled and allowing the algorithm to act on that information without guidance. Here the task of machine is to group unsorted information according to similarities, patterns and differences without any prior training of data.  Unlike supervised learning, no teacher is provided that means no training will be given to the machine. Therefore machine is restricted to find the hidden structure in unlabeled data by our-self.
  • 5. WHAT IS SENTIMENT ANALYSIS OR OPINION MINING ?  In simple words… “The practice of applying Natural Language Processing and Text Analysis Technique to identify And extract Subjective information from a piece of text”
  • 6. WHAT IS SENTIMENT ANALYSIS?  It is classification of the polarity of given text in a document ,sentence or phrase.  The goal is to determine whether the expressed opinion in the text is positive , negative or neutral.  Enable us to track attitudes and feeling on web based on blog posts, comments , reviews and tweets on differ topics  Gives insight into the emotions behind the words.
  • 7. WHAT IS SENTIMENT ANALYSIS?
  • 8. MOTIVATION  An aspect of social media data such as Twitter, face book messages and IMDb , amazon is that it includes rich structured information about the individuals involved in the communication.  Online sites can be a genuine source for collecting opinions.  It can lead to more accurate tools for extracting semantic information.  It provides means for empirically studying properties of social interactions.
  • 10. PROBLEM STATEMENT  The problem in sentiment analysis is classifying the polarity of a given text at the document, sentence, or feature/aspect level .  Whether the expressed opinion in a document, a sentence or an entity feature/aspect is positive, negative, or neutral .  A major benefit of social media is that we can see the good and bad things people say about the particular brand or personality.  The bigger your company gets difficult it becomes to keep a handle on how everyone feels about your brand.  For large companies with thousands of daily mentions on social media, news sites and blogs, it's extremely difficult to do this manually.  To combat this problem, sentimental analysis software are necessary. These soft wares can be used to evaluate the people's sentiment about particular brand or personality.
  • 11. OVERVIEW OF WORKING OF SENTIMENT ANALYSIS
  • 12. WORKING: Data Collection : Public sentiments from consumers expressed on public forums and on social network are collected Opinions and feelings are expressed in different way, with different vocabulary, context of writing, usage of short forms and slang, makes data huge and disorganized.
  • 13. WORKING: Analyze Data: Text Preparation Data is extracted and filtered before analysis Non-textual content and content is identified and eliminated if it is irrelevant Sentiment Detection . Ex: keywords like “a,an,the,or etc” are eliminated. Each sentence and opinion is examined for subjectivity Sentences with subjective expressions are retained and ones that convey objective expressions are discarded.
  • 14. WORKING: Indexing: Sentiments can be broadly classified into two groups, positive and negative Each subjective sentence is classified into positive, negative, good, bad, like, dislike
  • 15. WORKING: Delivery : (Presentation of Output) The result of converted unstructured text into meaningful information Usually displayed as graphs for easy interpretation.
  • 18. WHY TWITTER?  Data: Twitter gives plenty of data. For analysis, it's almost like picking a needle from a haystack. Finding relevant tweets, removing noise, takes a little extra effort.  Informal Language: Tweets don't follow the conventional grammatical structure. We've got cases like:  "OMG that's soooooo cool"  "His moves are sick, man."  "The iPhone's perfect for my insta."  "he's on stage, i;m crYING halp !!11!!“ Opinions: Twitter opinions are sensitive to the user. They're also dependent on author authority- a 14 year old girl's opinion on a novel may not hold the same weight-age as that of another writer's.
  • 19. ALGORITHMS TO BE IMPLEMENTED 1. Naive Bayes Classifier : Naive Bayes Classifier uses far less computing power compared to other methods and often is a baseline method for many models. 2. Maximum Entropy Classifier: Maximum Entropy Classifier is a parameterized method and works by extracting features from the text and combining the features in a linear fashion for classification. This is a member of the log-linear or exponential family of classifiers. 3. Decision Tree: Decision Tree works by creating a decision tree of root, branches and leaves, creating a decision point at every branch. The decision is taken at the leaf node.
  • 20. TECHNOLOGY TO BE USED  Concepts of Data Mining and Information and Information Retrieval.  Python Language  Twitter data set for training set  Tweepy: Tweepy, the Python client for the official Twitter that supports accessing Twitter via Basic Authentication and the newer method, OAuth. Twitter has stopped accepting Basic Authentication.  TextBlob: TextBlob, one of the popular Python libraries for processing textual data, stands on the NLTK . TextBlob has some advanced features like – Sentiment Extraction Spelling Correction  NLTK (Natural Language Toolkit)
  • 21. USP(UNIQUE SELLING PROPORTION) OF WORK  Sentiment analysis is extremely useful in social media monitoring as it allows us to gain an overview of the wider public opinion behind certain topics.  Through comprehensive analysis, businesses gain valuable insights towards their customers
  • 22. HOW IT CAN BE HELPFUL ?
  • 23. ROLE OF INDIVIDUAL MEMBERS  Prakhar Srivastava: Development and Model Training.  Abhinav Sachan: Development and Collecting Dataset.  Pravin Singh Katiyar: Development and Testing.