Research on Stock Classification and Prediction Based on LSTM Model

本文以中国A股上市银行为研究对象,构建了一个融合PCA降维、DTW相似度分析与层次聚类技术的金融评价框架,并结合LSTM模型对股票价格走势进行趋势预测。首先,基于5年财务与市场数据,利用主成分分析提取银行关键特征,并应用动态时间规整算法量化银行间时间序列相似度。随后,采用加权DTW距离与层次聚类相结合的方法将银行划分为五类,并为每类构建加权指数。在此基础上,引入长短期记忆网络(LSTM)对各类指数进行预测建模。实证结果显示,该方法在训练集上取得了R2超过0.93的拟合度,测试集多数类别的R2也稳定在0.80以上,部分类别预测精度接近0.89,验证了分类结构与模型构建的有效性。该研究为金融时序建模与行业板块化评价提供了新的思路与实证依据。 Taking Chinese A-share listed banks as the research object, this paper constructs a financial evaluation framework integrating PCA dimensionality reduction, DTW similarity analysis and hierarchical clustering, and combines it with an LSTM model for trend prediction of stock price movements. First, based on 5-year financial and market data, key bank characteristics are extracted using principal component analysis, and the dynamic time regularization algorithm is applied to quantify the time series similarity among banks. Subsequently, a combination of weighted DTW distance and hierarchical clustering is used to classify banks into five categories, and a weighted index is constructed for each category. On this basis, the Long Short-Term Memory (LSTM) network is introduced to predictively model the indices for each category. The empirical results show that the method achieves a goodness of fit of R2 over 0.93 on the training set, and most categories of the test set are also stabilized above 0.80, and the prediction accuracy of some categories is close to 0.89, which verifies the validity of the categorization structure and the model construction. This study provides new ideas and empirical basis for financial time series modeling and industry segmentation evaluation.

Authors

Publication Details

Journal
Advances in Applied Mathematics
Published
2025-01-01
DOI
https://doi.org/10.12677/aam.2025.148372
Primary Topic
Stock Market Forecasting Methods
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Research on Stock Classification and Prediction Based on LSTM Model

秉基 王
Advances in Applied Mathematics
Stock Market Forecasting Methods
article

Research on Stock Classification and Prediction Based on LSTM Model

秉基 王
article en

Abstract

本文以中国A股上市银行为研究对象,构建了一个融合PCA降维、DTW相似度分析与层次聚类技术的金融评价框架,并结合LSTM模型对股票价格走势进行趋势预测。首先,基于5年财务与市场数据,利用主成分分析提取银行关键特征,并应用动态时间规整算法量化银行间时间序列相似度。随后,采用加权DTW距离与层次聚类相结合的方法将银行划分为五类,并为每类构建加权指数。在此基础上,引入长短期记忆网络(LSTM)对各类指数进行预测建模。实证结果显示,该方法在训练集上取得了R2超过0.93的拟合度,测试集多数类别的R2也稳定在0.80以上,部分类别预测精度接近0.89,验证了分类结构与模型构建的有效性。该研究为金融时序建模与行业板块化评价提供了新的思路与实证依据。 Taking Chinese A-share listed banks as the research object, this paper constructs a financial evaluation framework integrating PCA dimensionality reduction, DTW similarity analysis and hierarchical clustering, and combines it with an LSTM model for trend prediction of stock price movements. First, based on 5-year financial and market data, key bank characteristics are extracted using principal component analysis, and the dynamic time regularization algorithm is applied to quantify the time series similarity among banks. Subsequently, a combination of weighted DTW distance and hierarchical clustering is used to classify banks into five categories, and a weighted index is constructed for each category. On this basis, the Long Short-Term Memory (LSTM) network is introduced to predictively model the indices for each category. The empirical results show that the method achieves a goodness of fit of R2 over 0.93 on the training set, and most categories of the test set are also stabilized above 0.80, and the prediction accuracy of some categories is close to 0.89, which verifies the validity of the categorization structure and the model construction. This study provides new ideas and empirical basis for financial time series modeling and industry segmentation evaluation.

Advances in Applied MathematicsVol. 14(08)
Openalex Percentile: Top 77%
Stock Market Forecasting Methods
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.

Research on Stock Classification and Prediction Based on LSTM Model — 秉基 王 · Advances in Applied Mathematics (2025) | TGRS Research Map | TGRS