Beta
88884

Classification and Prediction of Opinion Mining in Social Networks Data

Article

Last updated: 24 Dec 2024

Subjects

-

Tags

-

Abstract

opinion mining in social networks data considers one of the most significant and challenging tasks in our days due to the huge number of information that distributed each day. We can profit from these opinions by utilizing two significant procedures (classification and prediction). Although there is many researchers' work at this point, it still needs improvement. Therefore, in this paper, we present a method to improve the accuracy of both processes. The improvement is done through cleaning the data set by converting all words to lower case, removing usernames, mentions, links, repeated characters, numbers, delete more than two spaces between words, empty tweets, punctuations and stop words, and converting all words like “isn't" to “is not". we using both unigrams and bigrams as features. Our data set contains the user's feelings about distributed products, tweets labeled positive or negative, and each product rate from one to five. We implemented this work using different supervised machine learning algorithms like Naïve Bayes, Support Vector Machine and MaxEntropy for the classification process, and Random Forest Regression, Logistic Regression, and Support Vector Regression for the prediction process. At last, we have accuracy in both processes better than existing works. In classification, we achieved an accuracy of 90% and in the prediction process, Support Vector Regression model is able to predict future product rate with a Mean Squared Error (MSE) of 0.4122, Logistic Regression model is able to predict with MSE of 0.4986 and Random Forest Regression model able to predict with MSE of 0.4770.

DOI

10.21608/ijci.2020.26841.1015

Keywords

Twitter, Sentiment Analysis, Machine Learning, classification, and Prediction

Authors

First Name

Shaimaa

Last Name

Mohamed

MiddleName

Mahmoud

Affiliation

Computer Science Department, Faculty of Computers and Information,Menoufia University, Shebin Elkom 32511, Egypt

Email

sh.mahmoud600@gmail.com

City

-

Orcid

-

First Name

Mahmoud

Last Name

Hussien

MiddleName

-

Affiliation

Faculty of Computers and Information, Menofia University, Egypt

Email

mahmoud.hussein@ci.menofia.edu.eg

City

-

Orcid

0000-0002-3742-7548

First Name

Arabi

Last Name

Keshk

MiddleName

-

Affiliation

Faculty of Computer and Information Menoufia University

Email

arabikeshk@yahoo.com

City

-

Orcid

-

Volume

7

Article Issue

1

Related Issue

17861

Issue Date

2020-10-01

Receive Date

2020-03-29

Publish Date

2020-10-15

Page Start

32

Page End

41

Print ISSN

1687-7853

Online ISSN

2735-3257

Link

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

Detail API

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

Order

3

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

Classification and Prediction of Opinion Mining in Social Networks Data

Details

Type

Article

Created At

22 Jan 2023