Analisis Pengaruh Parameter Support Vector Machine Terhadap Akurasi Prediksi Harga Saham

Penelitian

Authors

  • Arief Priyono Universitas Pancasakti Tegal
  • Hasby Firmansyah Universitas Pancasakti Tegal
  • Wahyu Asriyani Universitas Pancasakti Tegal
  • Rizki Prasetyo Tulodo Universitas Pancasakti Tegal

DOI:

https://doi.org/10.31004/jerkin.v4i3.4529

Keywords:

Prediction Accuracy, Prediction Error, Stock Price, C Parameter, Epsilon Parameter, Gamma Parameter, Support Vector Machine

Abstract

Stock price prediction is challenging due to fluctuating and nonlinear behavior. This study examines the effect of parameter optimization in Support Vector Machine (SVM) on prediction accuracy and error for stock prices. The dataset consists of PT Telekomunikasi Indonesia Tbk (TLKM) stock data from 2022–2024 obtained from Yahoo Finance. The workflow includes normalization, windowing-based feature construction, train–test splitting, and modeling using ε-Support Vector Regression (ε-SVR) with a Radial Basis Function (RBF) kernel. Parameter optimization is conducted via Optimize Parameters (Evolutionary) to find suitable C, gamma, and epsilon values, and the optimized model is compared against a baseline using LibSVM default parameters. Performance is evaluated using Root Mean Squared Error (RMSE), Absolute Error (AE), Correlation, and Prediction Average. Results indicate that the optimized model produces more stable predictions and follows the actual pattern more consistently, although the baseline may yield lower numerical error in some cases. This finding suggests that parameter optimization increases model sensitivity to training patterns but requires careful regularization to prevent accuracy degradation on test data.

References

Ali, M., Khan, D. M., Aamir, M., Ali, A., & Ahmad, Z. (2021). Predicting the Direction Movement of Financial Time Series Using Artificial Neural Network and Support Vector Machine. Complexity, 2021. https://doi.org/10.1155/2021/2906463

Bargam, B., Boudhar, A., Kinnard, C., Bouamri, H., Nifa, K., & Chehbouni, A. (2024). Evaluation of the support vector regression (SVR) and the random forest (RF) models accuracy for streamflow prediction under a data-scarce basin in Morocco. Discover Applied Sciences, 6(6). https://doi.org/10.1007/s42452-024-05994-z

Beniwal, M., Singh, A., & Kumar, N. (2023). Forecasting long-term stock prices of global indices: A forward-validating Genetic Algorithm optimization approach for Support Vector Regression. Applied Soft Computing, 145, 110566. https://doi.org/https://doi.org/10.1016/j.asoc.2023.110566

Dash, R. K., Nguyen, T. N., Cengiz, K., & Sharma, A. (2023). Fine-tuned support vector regression model for stock predictions. Neural Computing and Applications, 35(32), 23295–23309. https://doi.org/10.1007/s00521-021-05842-w

Hani’ah, M., Abdullah, M. Z., Sabilla, W. I., Akbar, S., & Shafara, D. R. (2023). Google Trends and Technical Indicator based Machine Learning for Stock Market Prediction. MATRIK : Jurnal Manajemen, Teknik Informatika Dan Rekayasa Komputer, 22(2), 271–284. https://doi.org/10.30812/matrik.v22i2.2287

Hewamalage, H., Ackermann, K., & Bergmeir, C. (2023). Forecast evaluation for data scientists: common pitfalls and best practices. Data Mining and Knowledge Discovery, 37(2), 788–832. https://doi.org/10.1007/s10618-022-00894-5

Pradasyah, A., & Baita, A. (2025). Comparative Study of Support Vector Regression and Long Short-Term Memory for Stock Price Prediction. In Journal of Applied Informatics and Computing (JAIC) (Vol. 9, Issue 4). http://jurnal.polibatam.ac.id/index.php/JAIC

Ricky, A., Genesius, K., Setiawan, M., Nugroho Jaya, R., & Suhartono, D. (2022). Stock Market Prediction Using Support Vector Regressor with Radial Basis Function Kernel. ACM International Conference Proceeding Series, 380–387. https://doi.org/10.1145/3512388.3512444

Salehpour, A. (2023). Predicting Automobile Stock Prices Index in the Tehran Stock Exchange Using Machine Learning Models. International Journal of Intelligent Systems and Applications, 15(5), 12–17. https://doi.org/10.5815/ijisa.2023.05.02

Shih, C. M., Yang, K. C., & Chao, W. P. (2023). Predicting Stock Price Using Random Forest Algorithm and Support Vector Machines Algorithm. 2023 IEEE International Conference on Industrial Engineering and Engineering Management (IEEM), 133–137. https://doi.org/10.1109/IEEM58616.2023.10406964

Sri Mulyani, A., & Widiharih, T. (2025). IMPLEMENTASI METODE SUPPORT VECTOR REGRESSION UNTUK PREDIKSI HARGA SAHAM PT. ADARO ENERGY TBK. 14(2), 457–468. https://doi.org/10.14710/j.gauss.14.2.457-468

Su, X., Jiang, H., Qin, T., & Lin, G. (2024). Particle Swarm Optimization–Support Vector Regression (PSO-SVR)-Based Rapid Prediction Method for Radiant Heat Transfer for a Spacecraft Vacuum Thermal Test. Applied Sciences, 14(20). https://doi.org/10.3390/app14209407

Tingyu, Z. (2020). Short-term stock trend prediction based on improved SVR . 2020 7th International Conference on Information Science and Control Engineering (ICISCE) , 1283–1286. https://doi.org/10.1109/ICISCE50968.2020.00259

Widyaningrum, E. N., Putri, R. A., Fathan, M. A., & Safitriani, N. R. (2025). Stock Price Forecasting Using Autoregressive With Exogenous Variable Support Vector Regression (ARX – SVR). Jurnal Matematika, Statistika Dan Komputasi, 21(3), 847–854. https://doi.org/10.20956/j.v21i3.43613

Zhang, H. C., Wu, Q., Li, F. Y., & Li, H. (2022). Multitask Learning Based on Least Squares Support Vector Regression for Stock Forecast. Axioms, 11(6). https://doi.org/10.3390/axioms11060292

Zhou, F. (2021). Cross-validation research based on RBF-SVR model for stock index prediction. Data Science in Finance and Economics, 1(1), 1–20. https://doi.org/10.3934/DSFE.2021001

Downloads

Published

23-12-2025

How to Cite

Arief Priyono, Hasby Firmansyah, Wahyu Asriyani, & Rizki Prasetyo Tulodo. (2025). Analisis Pengaruh Parameter Support Vector Machine Terhadap Akurasi Prediksi Harga Saham: Penelitian. Jurnal Pengabdian Masyarakat Dan Riset Pendidikan, 4(3), 14686–14696. https://doi.org/10.31004/jerkin.v4i3.4529

Most read articles by the same author(s)