STOCK PREDICTION PERFORMANCE OPTIMIZATION: ENHANCING COVARIANCE MATRIX WITH KNN

Stock price prediction is a fundamental yet complex challenge in quantitative finance. With the increasing availability of data and advancements in machine learning techniques, various models have been developed to capture intricate patterns in stock price movements. While complex neural network models such as Recurrent Neural Networks (RNNs), Graph Neural Networks (GNNs), and Transformers have shown potential in handling stock market data, they often face optimization difficulties and performance limitations, especially when data is scarce. This paper explores the use of simpler and more accessible prediction methods, specifically Linear Regression (LR) and K-Nearest Neighbors (KNN), alongside more advanced models like Temporal Spatial Transformer (TST) and a Multi-Layer Perceptron (MLP) model called Stockmixer. The NASDAQ dataset is utilized in this study, providing a comprehensive view of stock market dynamics with high variability. Results indicate that KNN, among the evaluated models, exhibits superior and more stable performance in predicting validation data compared to MLP. KNN achieved a low Mean Squared Error (MSE) at 100 epochs, and demonstrated positive Information Coefficient (IC) and Return Information Coefficient (RIC) values. Additionally, it showed high Precision at 10 (P@10) and Sharpe Ratio (SR), making it a robust choice for stock price prediction tasks. In contrast, MLP, despite its sophistication, revealed some weaknesses, particularly in the alignment between predictions and actual values. These findings offer valuable insights into the effectiveness of various models for stock price prediction and suggest that simpler models like KNN can provide competitive results compared to more complex models.

Authors

Publication Details

Journal
Jurnal Teknik Informatika (Jutif)
Published
2024-12-28
DOI
https://doi.org/10.52436/1.jutif.2024.5.6.2399
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

STOCK PREDICTION PERFORMANCE OPTIMIZATION: ENHANCING COVARIANCE MATRIX WITH KNN

Suryo Guritno, Muhammad Fajar Sidiq, Iskandar Abdul Azis Saputra, Hasan Dwi Cahyono
Jurnal Teknik Informatika (Jutif)
Stock Market Forecasting Methods
article

STOCK PREDICTION PERFORMANCE OPTIMIZATION: ENHANCING COVARIANCE MATRIX WITH KNN

Suryo Guritno, Muhammad Fajar Sidiq, Iskandar Abdul Azis Saputra, Hasan Dwi Cahyono
article en

Abstract

Stock price prediction is a fundamental yet complex challenge in quantitative finance. With the increasing availability of data and advancements in machine learning techniques, various models have been developed to capture intricate patterns in stock price movements. While complex neural network models such as Recurrent Neural Networks (RNNs), Graph Neural Networks (GNNs), and Transformers have shown potential in handling stock market data, they often face optimization difficulties and performance limitations, especially when data is scarce. This paper explores the use of simpler and more accessible prediction methods, specifically Linear Regression (LR) and K-Nearest Neighbors (KNN), alongside more advanced models like Temporal Spatial Transformer (TST) and a Multi-Layer Perceptron (MLP) model called Stockmixer. The NASDAQ dataset is utilized in this study, providing a comprehensive view of stock market dynamics with high variability. Results indicate that KNN, among the evaluated models, exhibits superior and more stable performance in predicting validation data compared to MLP. KNN achieved a low Mean Squared Error (MSE) at 100 epochs, and demonstrated positive Information Coefficient (IC) and Return Information Coefficient (RIC) values. Additionally, it showed high Precision at 10 (P@10) and Sharpe Ratio (SR), making it a robust choice for stock price prediction tasks. In contrast, MLP, despite its sophistication, revealed some weaknesses, particularly in the alignment between predictions and actual values. These findings offer valuable insights into the effectiveness of various models for stock price prediction and suggest that simpler models like KNN can provide competitive results compared to more complex models.

Jurnal Teknik Informatika (Jutif)Vol. 5(6)
Openalex Percentile: Top 65%
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.

STOCK PREDICTION PERFORMANCE OPTIMIZATION: ENHANCING COVARIANCE MATRIX WITH KNN — Suryo Guritno, Muhammad Fajar Sidiq, et al. · Jurnal Teknik Informatika (Jutif) (2024) | TGRS Research Map | TGRS