Optimizing LSTM Models for Tweet Sentiment Analysis: A Hyperparameter Study

This research investigates the effectiveness of using LSTM models for sentiment analysis of tweet data. By preprocessing the data and systematically optimizing the hyperparameters (e.g., number of LSTM units, dropout rate, batch size, and epoch), an LSTM model was constructed for tweet sentiment classification. In the test set, the model achieves 75% accuracy, verifying its feasibility in short text. Additionally, the experiments show that choosing the appropriate batch size and epoch number can improve the efficiency and stability of the model, which provides a reference for future research on sentiment analysis.

Authors

Institutions

Publication Details

Journal
Journal of Artificial Intelligence General science (JAIGS) ISSN 3006-4023
Published
2025-04-29
DOI
https://doi.org/10.60087/jaigs.v8i1.354
Citations
2
Primary Topic
Sentiment Analysis and Opinion Mining
Type
article
Field-Weighted Citation Impact
4.96
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Optimizing LSTM Models for Tweet Sentiment Analysis: A Hyperparameter Study

Yuxuan Wu
2 citations
Journal of Artificial Intelligence General science (JAIGS) ISSN 3006-4023
Sentiment Analysis and Opinion Mining
4.96
article

Optimizing LSTM Models for Tweet Sentiment Analysis: A Hyperparameter Study

Yuxuan Wu
article en
2 citations

Abstract

This research investigates the effectiveness of using LSTM models for sentiment analysis of tweet data. By preprocessing the data and systematically optimizing the hyperparameters (e.g., number of LSTM units, dropout rate, batch size, and epoch), an LSTM model was constructed for tweet sentiment classification. In the test set, the model achieves 75% accuracy, verifying its feasibility in short text. Additionally, the experiments show that choosing the appropriate batch size and epoch number can improve the efficiency and stability of the model, which provides a reference for future research on sentiment analysis.

Journal of Artificial Intelligence General science (JAIGS) ISSN 3006-4023Vol. 8(1)
Film Independent (US)
Openalex Percentile: Top 6%
Sentiment Analysis and Opinion Mining
4.96
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.