Evaluation and Optimization of Sentiment Analysis Accuracy Based on Different Models

The popularity of the internet has led to an explosion of users and consequent comment data on social media platforms such as X, once known as twitter. By analyzing the textual sentiment of such a large amount of public data, it is possible to count people's attitudes toward an event or a product. Such a visual survey can be useful for further monitoring of trends in public opinion or for updating products in accordance with the prevailing opinion. This study is dedicated to comparing the performance of different machine learning models in the setting of a shared dataset. The tweets of corresponding keywords are collected through open-source application programming interface (API) tools to form a shared dataset for this research. The dataset is used to train the Naive Bayes (NB), Artificial Neural Network (ANN) and Logistic Regression (LR) models respectively and the results of the model training are visualized through a confusion matrix. The model performance is then assessed by comparing the values of accuracy, precision, recall, and F1-score. It has been demonstrated that the LR model is better at dealing with the type of classification problem of sentiment analysis, which provides a referenceable suggestion for future directions.

Authors

Institutions

Publication Details

Published
2025-01-10
DOI
https://doi.org/10.1109/citsc64390.2025.00013
Primary Topic
Sentiment Analysis and Opinion Mining
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Evaluation and Optimization of Sentiment Analysis Accuracy Based on Different Models

Jinfeng Ni
Sentiment Analysis and Opinion Mining
article

Evaluation and Optimization of Sentiment Analysis Accuracy Based on Different Models

Jinfeng Ni
article en

Abstract

The popularity of the internet has led to an explosion of users and consequent comment data on social media platforms such as X, once known as twitter. By analyzing the textual sentiment of such a large amount of public data, it is possible to count people's attitudes toward an event or a product. Such a visual survey can be useful for further monitoring of trends in public opinion or for updating products in accordance with the prevailing opinion. This study is dedicated to comparing the performance of different machine learning models in the setting of a shared dataset. The tweets of corresponding keywords are collected through open-source application programming interface (API) tools to form a shared dataset for this research. The dataset is used to train the Naive Bayes (NB), Artificial Neural Network (ANN) and Logistic Regression (LR) models respectively and the results of the model training are visualized through a confusion matrix. The model performance is then assessed by comparing the values of accuracy, precision, recall, and F1-score. It has been demonstrated that the LR model is better at dealing with the type of classification problem of sentiment analysis, which provides a referenceable suggestion for future directions.

Shandong University (CN)
Openalex Percentile: Top 97%
Sentiment Analysis and Opinion Mining
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Evaluation and Optimization of Sentiment Analysis Accuracy Based on Different Models — Jinfeng Ni · (2025) | TGRS Research Map | TGRS