Implementing Histogram of Oriented Gradients to Recognize Crypto Price Graphic Patterns with Artificial Neural Network
DOI:
10.47709/cnahpc.v6i2.3975Keywords:
Artificial Neural Network, Crypto, Graphic Patterns, HOG, Technical AnalysisDimension Badge Record
Abstract
Technical analysis stands as a pivotal strategy in analyzing graphic patterns to forecast future movements in crypto asset prices. However, comprehending numerous patterns poses a significant challenge for novice investors venturing into the investment realm. This study aims to facilitate investors in recognizing crypto price graph forms by classifying cryptographic price chart patterns. The dataset comprises images of seven types of crypto price graphic patterns obtained from the Kagle website, totaling 210 data points. A 70:30 training and testing data split is employed to ensure robust model evaluation. The study explores nine different Histogram of Oriented Gradients (HOG) parameter combinations for graphic pattern extraction. Leveraging the artificial neural network (ANN) classification method with parameter hyper tuning, the study assesses various HOG parameter configurations to optimize classification performance. The most optimal results are achieved with parameters Bin = 9, Cell Size = 16x16, and Block Size = 1x1, boasting an accuracy rate of 95.23%, precision of 95.55%, and recall of 95.23%. This classification approach streamlines the process for investors, enabling them to discern crypto price graph patterns effectively, thereby enhancing their investment decision-making capabilities in the dynamic cryptocurrency market landscape. By providing a structured method for pattern recognition, this study contributes to democratizing access to technical analysis tools, particularly benefiting novice investors seeking to navigate the complexities of cryptocurrency investment.
Downloads
Abstract viewed = 77 times
References
Benlachmi, Y., El Airej, A., & Hasnaoui, M. L. (2022). Fruits Disease Classification using Machine Learning Techniques. Indonesian Journal of Electrical Engineering and Informatics, 10(4), 917–929. https://doi.org/10.52549/ijeei.v10i4.3907
Chitlangia, A., & Malathi, G. (2019). Handwriting Analysis based on Histogram of Oriented Gradient for Predicting Personality traits using SVM. Procedia Computer Science, 165(2019), 384–390. https://doi.org/10.1016/j.procs.2020.01.034
Ciner, C., Gurdgiev, C., & Lucey, B. M. (2013). Hedges and safe havens: An examination of stocks, bonds, gold, oil and exchange rates. International Review of Financial Analysis, 29, 202–211. https://doi.org/10.1016/j.irfa.2012.12.001
Dalal, N., & Triggs, B. (2005). Histograms of oriented gradients for human detection. 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR’05), 1, 886–893 vol. 1. https://doi.org/10.1109/CVPR.2005.177
Han, Y., Liu, Y., Zhou, G., & Zhu, Y. (2024). Technical Analysis in the Stock Market: A Review. Handbook of Investment Analysis, Portfolio Management, and Financial Derivatives, 2013, 1893–1928. https://doi.org/10.1142/9789811269943_0059
Kang, H. Y., Rule, R. A., & Noble, P. A. (2012). Artificial Neural Network Modeling of Phytoplankton Blooms and its Application to Sampling Sites within the Same Estuary. In Treatise on Estuarine and Coastal Science (Vol. 9). Elsevier Inc. https://doi.org/10.1016/B978-0-12-374711-2.00908-6
Maharani, A., & Farhan Saputra. (2021). Relationship of Investment Motivation, Investment Knowledge and Minimum Capital to Investment Interest. Journal of Law, Politic and Humanities, 2(1), 23–32. https://doi.org/10.38035/jlph.v2i1.84
Medar, R., Rajpurohit, V. S., & Rashmi, B. (2017). Impact of Training and Testing Data Splits on Accuracy of Time Series Forecasting in Machine Learning. 2017 International Conference on Computing, Communication, Control and Automation, ICCUBEA 2017, 1–6. https://doi.org/10.1109/ICCUBEA.2017.8463779
Melhaoui, O. El, & Benchaou, S. (2021). An Efficient Signature Recognition System Based on Gradient Features and Neural Network Classifier. Procedia Computer Science, 198, 385–390. https://doi.org/10.1016/j.procs.2021.12.258
Mukhopadhyay, J. (2017). Image resizing in the compressed domain. ISSCS 2017 - International Symposium on Signals, Circuits and Systems. https://doi.org/10.1109/ISSCS.2017.8034942
Ong, E. (2016). Technical Analysis for Mega Profit. In PT Gramedia Pustaka Utama (p. 394).
Pistorius, F., Grimm, D., Erdosi, F., & Sax, E. (2020). Evaluation Matrix for Smart Machine-Learning Algorithm Choice. 2020 1st International Conference on Big Data Analytics and Practices, IBDAP 2020. https://doi.org/10.1109/IBDAP50342.2020.9245610
Saravanan, C. (2010). Color image to grayscale image conversion. 2010 2nd International Conference on Computer Engineering and Applications, ICCEA 2010, 2, 196–199. https://doi.org/10.1109/ICCEA.2010.192
Tu, J. V. (1996). Advantages and disadvantages of using artificial neural networks versus logistic regression for predicting medical outcomes. Journal of Clinical Epidemiology, 49(11), 1225–1231. https://doi.org/10.1016/S0895-4356(96)00002-9
Vasavi, P., Punitha, A., & Venkat Narayana Rao, T. (2022). Crop leaf disease detection and classification using machine learning and deep learning algorithms by visual symptoms: A review. International Journal of Electrical and Computer Engineering, 12(2), 2079–2086. https://doi.org/10.11591/ijece.v12i2.pp2079-2086
Virk, N. (2022). Bitcoin and integration patterns in the forex market. Finance Research Letters, 44(April), 102092. https://doi.org/10.1016/j.frl.2021.102092
Vo, T., Tran, D., & Ma, W. (2015). Tensor decomposition and application in image classification with histogram of oriented gradients. Neurocomputing, 165, 38–45. https://doi.org/10.1016/j.neucom.2014.06.093
Zhang, L., Zhou, W., Li, J., Li, J., & Lou, X. (2020). Histogram of Oriented Gradients Feature Extraction without Normalization. Proceedings of 2020 IEEE Asia Pacific Conference on Circuits and Systems, APCCAS 2020, 252–255. https://doi.org/10.1109/APCCAS50809.2020.9301715
Downloads
ARTICLE Published HISTORY
How to Cite
Issue
Section
License
Copyright (c) 2024 Suluh Arif Wibowo, Nur Rachmat
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.