sentiment analysis n.
Skip this Video
Loading SlideShow in 5 Seconds..
Sentiment Analysis | Machine Learning Algorithms | Data Science Tutorial | Edureka PowerPoint Presentation
Download Presentation
Sentiment Analysis | Machine Learning Algorithms | Data Science Tutorial | Edureka

Loading in 2 Seconds...

play fullscreen
1 / 29

Sentiment Analysis | Machine Learning Algorithms | Data Science Tutorial | Edureka - PowerPoint PPT Presentation


  • 166 Views
  • Uploaded on

This Edureka Sentiment Analysis tutorial will help you understand all the basics of Sentiment Analysis algorithm along with examples. This tutorial also has an interesting demo on Sentiment Analysis in R - El Clasico Sentiment Analysis. Below are the topics covered in this tutorial:

1. What is Machine Learning?
2. Why Sentiment Analysis?
3. What is Sentiment Analysis?
4. How Sentiment Analysis Works?
5. Sentiment Analysis Demo - El Clasico
6. Sentiment Analysis Use Case

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
    Presentation Transcript
    sentiment analysis

    Sentiment Analysis

    www.edureka.co/data-science

    Edureka’s Data Science Certification Training

    what will you learn today

    What Will You Learn Today?

    3

    1

    2

    Why Sentiment

    Analysis?

    What is Sentiment

    Analysis?

    What is Machine

    Learning?

    5

    6

    4

    How Sentiment

    Analysis Works?

    Sentiment Analysis -

    Demo

    Sentiment Analysis –

    Use Case

    www.edureka.co/data-science

    Edureka’s Data Science Certification Training

    what is machine learning

    What is Machine Learning?

    www.edureka.co/data-science

    Edureka’s Data Science Certification Training

    what is machine learning 1

    What is Machine Learning?

    Machine learning is a type of artificial intelligence (AI) that provides computers with the ability to learn without being

    explicitly programmed. Machine learning focuses on the development of computer programs that can change when

    exposed to new data.

    www.edureka.co/data-science

    Edureka’s Data Science Certification Training

    what is machine learning 2

    What is Machine Learning?

    Types of Machine Learning:

    Types of Learning

    Supervised

    Learning

    Reinforcement

    Learning

    Unsupervised

    Learning

    www.edureka.co/data-science

    Edureka’s Data Science Certification Training

    what is machine learning 3

    What is Machine Learning?

    Types of Machine Learning:

    Types of Learning

    Supervised

    Learning

    Reinforcement

    Learning

    Unsupervised

    Learning

    www.edureka.co/data-science

    Edureka’s Data Science Certification Training

    what is machine learning 4

    What is Machine Learning?

    Types of Machine Learning:

    Types of Learning

    Supervised

    Learning

    Reinforcement

    Learning

    Unsupervised

    Learning

    www.edureka.co/data-science

    Edureka’s Data Science Certification Training

    what is machine learning 5

    What is Machine Learning?

    Types of Machine Learning:

    Types of Learning

    Supervised

    Learning

    Reinforcement

    Learning

    Unsupervised

    Learning

    Sentiment Analysis

    www.edureka.co/data-science

    Edureka’s Data Science Certification Training

    why sentiment analysis

    Why Sentiment Analysis?

    www.edureka.co/data-science

    Edureka’s Data Science Certification Training

    why sentiment analysis 1

    Why Sentiment Analysis?

    Let’s take an example here:

    Suppose you have an application which is very famous, and has around a billion users, and you decide to add a new

    functionality to your application, how will you get the feedback for it?

    www.edureka.co/data-science

    Edureka’s Data Science Certification Training

    why sentiment analysis 2

    Why Sentiment Analysis?

    Let’s take an example here:

    Suppose you have an application which is very famous, and has around a billion users, and you decide to add a new

    functionality to your application, how will you get the feedback for it?

    Comes in, Sentiment Analysis, so now you can focus on your negative posts, and improve your application!! Cool Right?

    www.edureka.co/data-science

    Edureka’s Data Science Certification Training

    what is sentiment analysis

    What is Sentiment Analysis?

    www.edureka.co/data-science

    Edureka’s Data Science Certification Training

    what is sentiment analysis 1

    What is Sentiment Analysis?

    The process of computationally identifying and categorizing opinions expressed in a piece of text, especially in order to

    determine whether the writer's attitude towards a particular topic, product, etc. is positive, negative, or neutral.

    www.edureka.co/data-science

    Edureka’s Data Science Certification Training

    what is sentiment analysis 2

    What is Sentiment Analysis?

    The process of computationally identifying and categorizing opinions expressed in a piece of text, especially in order to

    determine whether the writer's attitude towards a particular topic, product, etc. is positive, negative, or neutral.

    Remember this?

    www.edureka.co/data-science

    Edureka’s Data Science Certification Training

    how does it work

    How does it work?

    www.edureka.co/data-science

    Edureka’s Data Science Certification Training

    how does it work 1

    How does it work?

    Good Question! It’s very simple though.

    Positive

    Words

    Negative

    Words

    www.edureka.co/data-science

    Edureka’s Data Science Certification Training

    how does it work 2

    How does it work?

    Good Question! It’s very simple though.

    Positive

    Words

    Database

    Negative

    Words

    www.edureka.co/data-science

    Edureka’s Data Science Certification Training

    how does it work 3

    How does it work?

    Good Question! It’s very simple though.

    +1 for good

    Score

    0 for neutral

    -1 for bad

    Positive

    Words

    Positive Sentences

    Neutral Sentences

    Sample Statement

    Negative Sentences

    Negative

    Words

    www.edureka.co/data-science

    Edureka’s Data Science Certification Training

    how does the algorithm work

    How Does the Algorithm Work?

    This is a sample statement

    Positive

    Words

    Negative

    Words

    *The words that are neither in positive nor in negative words would be neutral words with value 0

    www.edureka.co/data-science

    Edureka’s Data Science Certification Training

    sentiment analysis example

    Sentiment Analysis : Example

    www.edureka.co/data-science

    Edureka’s Data Science Certification Training

    sentiment analysis example 1

    Sentiment Analysis Example

    Let’s take a sample statement here, with sample datasets.

    The Iphone7 is awesome! = +1

    Good

    Awesome

    Great

    Happy

    Yes

    Interesting

    Bad

    Hate

    Sad

    Least

    Not

    Boring

    www.edureka.co/data-science

    Edureka’s Data Science Certification Training

    sentiment analysis example 2

    Sentiment Analysis Example

    Let’s take a sample statement here, with sample datasets.

    This movie is not that great, after the interval it was boring! = -1 +1 -1 = -1

    Good

    Awesome

    Great

    Happy

    Yes

    Interesting

    Bad

    Hate

    Sad

    Least

    Not

    Boring

    www.edureka.co/data-science

    Edureka’s Data Science Certification Training

    sentiment analysis example 3

    Sentiment Analysis Example

    Let’s take a complex statement now,

    The service was terrible, but the food was great!

    Now how will you solve this?

    www.edureka.co/data-science

    Edureka’s Data Science Certification Training

    sentiment analysis example 4

    Sentiment Analysis Example

    Let’s take a complex statement now,

    The service was terrible, but the food was great!

    Such a case is called Constructive Conjunction.

    The way we solve it is like this, whenever there is a BUT in the sentence, it reforms the sentence like this,

    1.

    2.

    The service was terrible AND But the food was great!

    Hence, calculate their scores separately, this method is called Binary Sentiment Analysis

    www.edureka.co/data-science

    Edureka’s Data Science Certification Training

    demo in r

    Demo in R

    www.edureka.co/data-science

    Edureka’s Data Science Certification Training

    demo in r 1

    Demo in R

    We are going to do an El Clasico comparison of Real Madrid and Barcelona and see who is getting more positive tweets.

    Real Madrid C.F

    Barcelona

    www.edureka.co/data-science

    Edureka’s Data Science Certification Training

    sentiment analysis use case

    Sentiment Analysis : Use Case

    www.edureka.co/data-science

    Edureka’s Data Science Certification Training

    sentiment analysis use case 1

    Sentiment Analysis: Use Case

    Enhancing Customer Experience

    Customer experiences fall into three basic categories,

    positive, negative or neutral.

    Through sentiment analysis, companies can detect the

    tone and temperament of each and every word found

    in a customer’s social postings.

    With this, businesses can gain valuable insights into

    what they are doing right with regard to products,

    services and customer support and what they need to

    work on negative sentiments in order to enhance the

    overall customer experience.

    www.edureka.co/data-science

    Edureka’s Data Science Certification Training

    www edureka co data science

    www.edureka.co/data-science

    Edureka’s Data Science Certification Training