Jurnal Teknik Informatika (JUTIF)
Vol. 6 No. 1 (2025): JUTIF Volume 6, Number 1, February 2025

OPTIMIZATION OF STOCK PRICE PREDICTION WITH RIDGE REGRESSION AND HYPERPARAMETER SELECTIONS

Marwa, Adeline Fellita (Unknown)
Setiyawan, Sitti Ayuningrum (Unknown)
Cahyani, Yonaka Titin Nur (Unknown)
Cahyono, Hasan Dwi (Unknown)



Article Info

Publish Date
20 Sep 2024

Abstract

Stock price prediction is a topic that has garnered significant attention in the investment world and has been the subject of various studies. Despite the massive attention, predicting stock price movements using algorithms remains challenging as the algorithms must be agile and highly adaptive to movement trends. Recent studies using deep learning methods for stock price prediction show that deep learning methods have high reliability. However, their computational complexity limits widespread implementation. This study aims to predict Netflix stock prices using a linear regression model with ridge and hyperparameter optimisation. The research consists of three stages: data preprocessing, building a linear regression model with ridge, and predicting and visualizing results. The dataset used is historical Netflix stock price data from 2017 to 2022. In the preprocessing stage, the data was normalized using MinMaxScaler and split into training and test sets. A ridge regression model was built with hyperparameter alpha optimization using GridSearch. Predictions were compared to stock prices and evaluated using Root Mean Squared Error (RMSE). The ridge regression model with hyperparameter optimization performed best with an RMSE of 13.8082. Although the linear regression model demonstrated the fastest execution time of 0.7717 seconds, the ridge regression model with hyperparameter optimization provided an optimal balance between prediction accuracy and time efficiency.

Copyrights © 2025






Journal Info

Abbrev

jurnal

Publisher

Subject

Computer Science & IT

Description

Jurnal Teknik Informatika (JUTIF) is an Indonesian national journal, publishes high-quality research papers in the broad field of Informatics, Information Systems and Computer Science, which encompasses software engineering, information system development, computer systems, computer network, ...