Beta
317733

Sentiment Analysis on Twitter Using Machine Learning Techniques and TF-IDF Feature Extraction: A Comparative Study

Article

Last updated: 24 Dec 2024

Subjects

-

Tags

-

Abstract

The term "machine learning" refers to a sort of artificial intelligence (AI) that empowers software applications to enhance their predictive capabilities without explicit programming for such purposes. In order for machine learning algorithms to anticipate future output values, they require past data as input. In terms of scope, this research falls under sentiment analysis. The latter field is becoming increasingly active in terms of extracting people's opinions on issues related to politics, economics, and social issues. The purpose of sentiment classification is to categorize users' opinions as neutral, positive, or negative based on textual input alone. Despite these advantages, the accuracy and effectiveness of sentiment analysis are compromised by the obstacles encountered in the field of natural language processing (NLP). Recent research has shown that machine learning algorithms can assist in NLP. In this research, we investigate a range of machine-learning strategies for solving sentiment analysis challenges. Two datasets were analyzed with the models based on the term frequency-inverse document frequency (TF-IDF). A comparison study was conducted between each of the models to determine how they performed in experiments. Regarding accuracy and F1 score, logistic regression performs better than other algorithms.

DOI

10.21608/ijci.2023.236052.1128

Keywords

TF-IDF, AI, Sentiment Analysis, Machine Learning, NLP

Authors

First Name

wesam

Last Name

ahmed

MiddleName

-

Affiliation

Wesam Ahmed ,Information Technology University of South valley,Mansoura, Egypt

Email

wesamahmed929@yahoo.com

City

-

Orcid

-

First Name

Noura

Last Name

Semary

MiddleName

A.

Affiliation

Inf. tech. dept. , Information and computersInformation Technology Menoufia University Menoufia ,Egypt faculty, Menofia university

Email

noura.semary@ci.menofia.edu.eg

City

-

Orcid

-

First Name

Khalid

Last Name

Amin

MiddleName

-

Affiliation

Information Technology dept., Faculty of Computers and Information, Menoufia University, Egypt

Email

k.amin@ci.menofia.edu.eg

City

-

Orcid

0000-0002-9594-8827

First Name

Mohamed

Last Name

Adel Hammad

MiddleName

-

Affiliation

Faculty of computers and information, Menofia university

Email

mohammed.adel@ci.menofia.edu.eg

City

-

Orcid

0000-0002-6506-3083

Volume

10

Article Issue

3

Related Issue

43466

Issue Date

2023-11-01

Receive Date

2023-09-18

Publish Date

2023-11-01

Page Start

52

Page End

57

Print ISSN

1687-7853

Online ISSN

2735-3257

Link

https://ijci.journals.ekb.eg/article_317733.html

Detail API

https://ijci.journals.ekb.eg/service?article_code=317733

Order

8

Type

Original Article

Type Code

877

Publication Type

Journal

Publication Title

IJCI. International Journal of Computers and Information

Publication Link

https://ijci.journals.ekb.eg/

MainTitle

Sentiment Analysis on Twitter Using Machine Learning Techniques and TF-IDF Feature Extraction: A Comparative Study

Details

Type

Article

Created At

24 Dec 2024