Application of machine learning model in stock prediction

Economic stability and investor decision-making are significantly impacted by the stock market, which plays a crucial role in financial markets worldwide. This study focuses on applying machine learning models, particularly Random Forest, Extreme Gradient Boosting (XGBoost), and Long Short-Term Memory (LSTM), to predict Tesla stock prices. Various models' performance in stock prediction is evaluated using R-squared (R2), Mean Absolute Error (MAE), and Root Mean Square Error (RMSE). The results show that Random Forest and LSTM achieve the highest forecast accuracy, outperforming other models. These findings suggest that machine learning models are effective tools for stock prediction, providing valuable insights for investors. The superior performance of Random Forest and LSTM may be attributed to their ability to capture complex patterns in the data, especially in volatile markets. To further enhance the precision and reliability of stock predictions, future research should explore multi-source data integration and advanced model optimization techniques. Additionally, incorporating market sentiment and macroeconomic indicators could improve prediction robustness and offer deeper insights into market trends.

Authors

Institutions

Publication Details

Journal
Highlights in Business Economics and Management
Published
2025-09-21
DOI
https://doi.org/10.54097/xcqjne10
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

Application of machine learning model in stock prediction

Lingyun Gao
Highlights in Business Economics and Management
Stock Market Forecasting Methods
article

Application of machine learning model in stock prediction

Lingyun Gao
article en

Abstract

Economic stability and investor decision-making are significantly impacted by the stock market, which plays a crucial role in financial markets worldwide. This study focuses on applying machine learning models, particularly Random Forest, Extreme Gradient Boosting (XGBoost), and Long Short-Term Memory (LSTM), to predict Tesla stock prices. Various models' performance in stock prediction is evaluated using R-squared (R2), Mean Absolute Error (MAE), and Root Mean Square Error (RMSE). The results show that Random Forest and LSTM achieve the highest forecast accuracy, outperforming other models. These findings suggest that machine learning models are effective tools for stock prediction, providing valuable insights for investors. The superior performance of Random Forest and LSTM may be attributed to their ability to capture complex patterns in the data, especially in volatile markets. To further enhance the precision and reliability of stock predictions, future research should explore multi-source data integration and advanced model optimization techniques. Additionally, incorporating market sentiment and macroeconomic indicators could improve prediction robustness and offer deeper insights into market trends.

Highlights in Business Economics and ManagementVol. 63
Ocean University of China (CN)
Openalex Percentile: Top 66%
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.