0% found this document useful (0 votes)
56 views14 pages

Edunet

This document contains details of an internship project on sentiment analysis of restaurant reviews. The project uses a dataset of restaurant reviews to perform text classification and analyze sentiment. Naive Bayes classification techniques are applied to classify reviews as positive or negative sentiment. The results show an accuracy of 76.5% for the sentiment analysis model. Code and links are provided for the Google Colab notebook and GitHub repository containing the project code and results.

Uploaded by

Durgesh Prasad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
56 views14 pages

Edunet

This document contains details of an internship project on sentiment analysis of restaurant reviews. The project uses a dataset of restaurant reviews to perform text classification and analyze sentiment. Naive Bayes classification techniques are applied to classify reviews as positive or negative sentiment. The results show an accuracy of 76.5% for the sentiment analysis model. Code and links are provided for the Google Colab notebook and GitHub repository containing the project code and results.

Uploaded by

Durgesh Prasad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 14

NAME:- DURGESH PRASAD

SKILLSBUILD EMAIL ID:- [email protected]

COLLEGE NAME:- RAJKIYA ENGINEERING COLLEGE AZAMGARH

COLLEGE STATE:- UTTAR PRADESH

INTERNSHIP DOMAIN:- ARTIFICIAL INTELLIGENCE

INTERNSHIP DURATION:- [18TH AUGUST- 30TH SEPTEMBER ]


Sentiment analysis of
Restaurant Reviews
AGENDA

• In this project we will perform text analytics and sentiment analysis


on restaurant reviews using Text Classification.

• Here, We can use the “Restaurant Reviews” dataset. The dataset is a


tab-separated file. Dataset has two columns Review and Liked.
Project overview

• Nowadays restaurants want to understand people’s opinions about their food


and service. It helps them to know what customers are thinking about their
restaurant?
• Traditionally, people take suggestions from acquaintances, friends, and family.
• But in the 21st-century internet has become one of the most important
platforms for seeking advice.
• On these online platforms, Customer can also share their feedback and view
other people’s feedback about restaurant service, food, taste, ambiance, and
price.
• These reviews help customers to make the decision for choosing the restaurant
and make a trust because it is based on mouth publicity.
Who are the end users

• The end users for the “sentiment analysis of restaurant reviews” project are mainly the restaurant
owners, managers, and marketers who want to understand the opinions and feedback of their
customers.
• They can use sentiment analysis to identify the strengths and weaknesses of their products and services,
improve customer satisfaction, increase loyalty, and attract new customers.
• They can also use sentiment analysis to monitor their competitors and benchmark their performance.
Solution for the problem
1. Data Collection- Dataset of all the reviews are collected first in the form of TSV file.

2. Data Preprocessing- The collected raw data of restaurant reviews consist of large number of
attributes and also there will be missing values. The reducing the attributes is required, extracting
the required attributes is also much essential. In Data cleaning once attributes are removed, filling
the missing values, removing inconsistent data measuring

3. Sentiment Analysis- The reviews sources are mainly review sites. Sentiment analysis is not only
applied on product reviews but can also be applied on stock market, news articles, or political
debates

4. Classification- The lexicon-based approach is to finding the opinion mining which is used to analyze
or to predict the text. Classification model classifies discrete, unordered values or data. In this
prediction process, the classification techniques utilized are, naive bayes classifier.
CODE SOLUTION
CODE SOLUTION
Working architecture of the project
Modelling techniques
1. Naïve Bayes-
It is one of the popular classification techniques of algorithms used in data mining. It is a

probability classifier. It links the attributes mutually & is dependent on the number of
parameters. The principle here is that the variables provided are independent. It
generates accurate results with appropriate calculation & provides fast results.

2. Shows the graphical representation of the result-


The graph is generated by using the hchart chart. X-axis is the number data set values

and Y- axis represents the Probability of positive or negative with the percentage values.
results

Data analysis is the most crucial part of any proposed work. Data analysis
summarizes collected data. It involves the interpretation of data gathered through
the use of analytical and logical reasoning to determine patterns, relationships or
trends. To examine critically and to bring out the essential elements or give the
essence to analyze a data. To examine carefully and in detail so as to key factors,
possible results. Following snapshots shows the results obtained in each step of the
process.

• Accuracy of the Project is – 76.5%


CODE Result
links

• GOOGLE COLAB -
https://colab.research.google.com/drive/1FTr-anEcPOR_n1QKsoMD0-VzjVLvWkLw?usp=sha
ring

• GITHUB- https://github.com/durgesh-h/Sentiment-analysis-of-restaurant-reviews/tree/main

You might also like