sentiment analysis via r programming

23
Slide ‹#› © 2015 BlueCamphor Technologies (P) Ltd. www.skillspeed.com Sentiment Analysis via R Programming

Upload: skillspeed

Post on 08-Jan-2017

749 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Sentiment Analysis via R Programming

Slide ‹#›© 2015 BlueCamphor Technologies (P) Ltd. www.skillspeed.com

Sentiment Analysisvia R Programming

Page 2: Sentiment Analysis via R Programming

Slide ‹#›© 2015 BlueCamphor Technologies (P) Ltd. www.skillspeed.com

Session Objectives

In this session you would learn and understand

ᗍ What is R?ᗍ R for Data Analysisᗍ Achieving Business challenges via Rᗍ Benefits of R for Businessᗍ What is Sentiment Analysis?ᗍ Advantages of Sentiment Analysisᗍ Applications of Sentiment Analysis

Page 3: Sentiment Analysis via R Programming

Slide ‹#›© 2015 BlueCamphor Technologies (P) Ltd. www.skillspeed.com

Not really !!!!

Introduction

Page 4: Sentiment Analysis via R Programming

Slide ‹#›© 2015 BlueCamphor Technologies (P) Ltd. www.skillspeed.com

What is R?

R is a language and environment for statistical computing and graphics

It is a GNU project which is similar to the S language and environment which was developed at Bell Laboratories (formerly AT&T, now Lucent Technologies) by John Chambers and colleagues

R helps people perform a wide variety of computing tasks by giving them access to various commands 

Source: http://www.r-project.org/about.html

Page 5: Sentiment Analysis via R Programming

Slide ‹#›© 2015 BlueCamphor Technologies (P) Ltd. www.skillspeed.com

Why R for Data Analysis?

 ᗍ R is not the only language that can be used for data analysisᗍ Interactive languageᗍ Data structuresᗍ Graphicsᗍ Missing valuesᗍ Functions as first class objectsᗍ Packagesᗍ Community

Page 6: Sentiment Analysis via R Programming

Slide ‹#›© 2015 BlueCamphor Technologies (P) Ltd. www.skillspeed.com

ᗍ Develop your statistical and analytical skills in the R programming environment

ᗍ Acquire a thorough understanding of the R programming source environment, and use your skills in statistics and R to solve a variety of complex problems

Today, it is imperative for every modern business to understand the huge amounts of data it maintains on its customers and itself

Achieving Business Challenges in R

R allows the business to easily and quickly clean and explore the information that it wants to analyse

R allows the business to explore new information with the help of customized visualizations

Page 7: Sentiment Analysis via R Programming

Slide ‹#›© 2015 BlueCamphor Technologies (P) Ltd. www.skillspeed.com

Use Case

Problem Statement:A major benefit of social media is that we can see the good and bad things people say about a 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, new sites and blogs, it is extremely difficult to do this manually

Page 8: Sentiment Analysis via R Programming

Slide ‹#›© 2015 BlueCamphor Technologies (P) Ltd. www.skillspeed.com

Use Case - Solution

Sentimental analysis using R can solve this problem

Sentimental Analysis helps to evaluate the people’s sentiment about particular brand or personality in business

Solution:

Let us know what is sentimental analysis and steps involved to solve the problem

Page 9: Sentiment Analysis via R Programming

Slide ‹#›© 2015 BlueCamphor Technologies (P) Ltd. www.skillspeed.com

What are Sentiments?

Sentiment = feelings

ᗍ Attitudesᗍ Emotionsᗍ Opinions

Subjective impressions, not facts

Page 10: Sentiment Analysis via R Programming

Slide ‹#›© 2015 BlueCamphor Technologies (P) Ltd. www.skillspeed.com

Why Sentiment Analysis?

The amount of user-generated content on the Internet has risen exponentially over the last decade and such content is now always at our fingertips

ᗍ Sentiment analysis is in demand because of its efficiency – thousands of text documents can be processed for sentiment in seconds, compared to the hours it would take when done manually

ᗍ Huge amounts of ‘sentiments’ are available from social media including Twitter, Facebook, message boards, blogs, and user forums

Page 11: Sentiment Analysis via R Programming

Slide ‹#›© 2015 BlueCamphor Technologies (P) Ltd. www.skillspeed.com

What is Sentiment Analysis?

ᗍ Sentiment is an R package with tools for sentiment analysis for positivity/negativity and emotion classification

ᗍ Sentiment Analysis provides a rich set of tools and techniques for extracting information from large dataset and summarizing it

Example: Service providers use Sentiment Analysis to quickly assess how new products and features are being received

Sentiment Analysis uses natural language processing, text analysis and computational linguistics to identify and extract subjective information from text

Page 12: Sentiment Analysis via R Programming

Slide ‹#›© 2015 BlueCamphor Technologies (P) Ltd. www.skillspeed.com

Questions Sentiment Analysis might ask

ᗍ Is this product review positive or negative?

ᗍ Is this customer email satisfied or dissatisfied?

ᗍ Based on a sample of tweets, how are people responding to this ad campaign/product release/news item?

ᗍ How have bloggers' attitudes about the president changed since the election?

Page 13: Sentiment Analysis via R Programming

Slide ‹#›© 2015 BlueCamphor Technologies (P) Ltd. www.skillspeed.com

Data Collection in Sentiment Analysis

Data Collection

For performing sentimental analysis we

need Twitter data consisting of tweets about

a particular brand

For collecting the data and tweets we have used Twitter API available for

free

Data Collection

Remove unwanted words which does not

come under sentiments such as,

Emotions, urls, usernames, hashtags,

repeated letters

Data Collection

Two way categorization:

Positive or Negative

Data Collection

Positive words with negative smileyNegative words

with positive smiley

Page 14: Sentiment Analysis via R Programming

Slide ‹#›© 2015 BlueCamphor Technologies (P) Ltd. www.skillspeed.com

Example

People’s opinion towards a movie have huge impact on its successHigh volume of positive tweets indicate success of movie

How to quantify?

Lets take a set of movies and check for ratio of positive and negative tweets

Page 15: Sentiment Analysis via R Programming

Slide ‹#›© 2015 BlueCamphor Technologies (P) Ltd. www.skillspeed.com

Example: Tweets

Page 16: Sentiment Analysis via R Programming

Slide ‹#›© 2015 BlueCamphor Technologies (P) Ltd. www.skillspeed.com

Result using Sentimental Analysis

This graph makes us to easily understand the result ratios, than to check directly with the sites

Page 17: Sentiment Analysis via R Programming

Slide ‹#›© 2015 BlueCamphor Technologies (P) Ltd. www.skillspeed.com

Who Uses R? – Domains

Telecom Pharmaceuticals Financial Industry

and many more…

Page 18: Sentiment Analysis via R Programming

Slide ‹#›© 2015 BlueCamphor Technologies (P) Ltd. www.skillspeed.com

Who Uses R? – Companies

Page 19: Sentiment Analysis via R Programming

Slide ‹#›© 2015 BlueCamphor Technologies (P) Ltd. www.skillspeed.com

Job Trends – R Programming

Page 20: Sentiment Analysis via R Programming

Slide ‹#›© 2015 BlueCamphor Technologies (P) Ltd. www.skillspeed.com

Why Skillspeed?

Course Curriculum

from Industry Experts

Instructor Led Live Virtual Sessions

Lifetime access to Course

Content via LMS

100% Placement Assistance

24x7 Support

24x7

Page 21: Sentiment Analysis via R Programming

Slide ‹#›© 2015 BlueCamphor Technologies (P) Ltd. www.skillspeed.com

Corporate Partners

Page 22: Sentiment Analysis via R Programming

Slide ‹#›© 2015 BlueCamphor Technologies (P) Ltd. www.skillspeed.com

Contact us..

Lines open 24/7

To know more about the course, Please contact:

IND+91-90660-20904 USA1866-607-6547 (Toll Free)

Or reach us [email protected]

Page 23: Sentiment Analysis via R Programming