SENTIMENT ANALYSIS USING NAIVE BAYES CLASSIFIER WITH TF-IDF AND N-GRAM
Machine learning can be used to solve text classification problems in this final project. Sentiment analysis is the process of understanding opinions towards a particular subject. This final project focuses on sentiment analysis of product reviews on an e-commerce platform using the Naive Bayes Clas...
Saved in:
Main Author: | |
---|---|
Format: | Final Project |
Language: | Indonesia |
Online Access: | https://digilib.itb.ac.id/gdl/view/81406 |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Institut Teknologi Bandung |
Language: | Indonesia |
id |
id-itb.:81406 |
---|---|
spelling |
id-itb.:814062024-06-25T07:48:40ZSENTIMENT ANALYSIS USING NAIVE BAYES CLASSIFIER WITH TF-IDF AND N-GRAM Fakhri Alhafizh, Muhammad Indonesia Final Project Sentiment Analysis, Machine Learning, Naïve Bayes Classifiers, TF-IDF, N-Gram INSTITUT TEKNOLOGI BANDUNG https://digilib.itb.ac.id/gdl/view/81406 Machine learning can be used to solve text classification problems in this final project. Sentiment analysis is the process of understanding opinions towards a particular subject. This final project focuses on sentiment analysis of product reviews on an e-commerce platform using the Naive Bayes Classifier algorithm combined with TF-IDF (Term Frequency-Inverse Document Frequency) and N-Gram techniques. The aim of this final project is to develop a Naive Bayes Classifier model and classify sentiments as positive or negative in product reviews, which is useful for providing deeper insights into customer perceptions of a product. The methods used include collecting product review data from e-commerce sites, text preprocessing to remove noise, and feature extraction with TF-IDF and N-Gram to numerically model the text. Subsequently, the Naive Bayes Classifier algorithm is applied for sentiment classification. The results of the final project show that the use of TF-IDF provides the best performance in sentiment classification compared to other combination methods, with an accuracy of 90.38%. The resulting model demonstrates high accuracy in predicting the sentiment of product reviews. text |
institution |
Institut Teknologi Bandung |
building |
Institut Teknologi Bandung Library |
continent |
Asia |
country |
Indonesia Indonesia |
content_provider |
Institut Teknologi Bandung |
collection |
Digital ITB |
language |
Indonesia |
description |
Machine learning can be used to solve text classification problems in this final project. Sentiment analysis is the process of understanding opinions towards a particular subject. This final project focuses on sentiment analysis of product reviews on an e-commerce platform using the Naive Bayes Classifier algorithm combined with TF-IDF (Term Frequency-Inverse Document Frequency) and N-Gram techniques. The aim of this final project is to develop a Naive Bayes Classifier model and classify sentiments as positive or negative in product reviews, which is useful for providing deeper insights into customer perceptions of a product.
The methods used include collecting product review data from e-commerce sites, text preprocessing to remove noise, and feature extraction with TF-IDF and N-Gram to numerically model the text. Subsequently, the Naive Bayes Classifier algorithm is applied for sentiment classification. The results of the final project show that the use of TF-IDF provides the best performance in sentiment classification compared to other combination methods, with an accuracy of 90.38%. The resulting model demonstrates high accuracy in predicting the sentiment of product reviews. |
format |
Final Project |
author |
Fakhri Alhafizh, Muhammad |
spellingShingle |
Fakhri Alhafizh, Muhammad SENTIMENT ANALYSIS USING NAIVE BAYES CLASSIFIER WITH TF-IDF AND N-GRAM |
author_facet |
Fakhri Alhafizh, Muhammad |
author_sort |
Fakhri Alhafizh, Muhammad |
title |
SENTIMENT ANALYSIS USING NAIVE BAYES CLASSIFIER WITH TF-IDF AND N-GRAM |
title_short |
SENTIMENT ANALYSIS USING NAIVE BAYES CLASSIFIER WITH TF-IDF AND N-GRAM |
title_full |
SENTIMENT ANALYSIS USING NAIVE BAYES CLASSIFIER WITH TF-IDF AND N-GRAM |
title_fullStr |
SENTIMENT ANALYSIS USING NAIVE BAYES CLASSIFIER WITH TF-IDF AND N-GRAM |
title_full_unstemmed |
SENTIMENT ANALYSIS USING NAIVE BAYES CLASSIFIER WITH TF-IDF AND N-GRAM |
title_sort |
sentiment analysis using naive bayes classifier with tf-idf and n-gram |
url |
https://digilib.itb.ac.id/gdl/view/81406 |
_version_ |
1822009470634426368 |