{"title":"基于CBAM和CNN的股市趋势预测","authors":"Yong Wang, Zhiyu Xu, Yisheng Li","doi":"10.1117/12.2667378","DOIUrl":null,"url":null,"abstract":"In recent years, deep learning has been increasingly used to analyze financial data. For deep learning to predict the buy, sell, and hold points of stocks are prone to over-fitting, unreasonable feature extraction, and other issues. This paper builds a CBAM-CNN model based on Convolutional Neural Network (CNN) and Convolutional Block Attention Module (CBAM) to predict the buy, sell and hold points. In order to verify the applicability and superiority of the proposed method, the shares of Dao 30 and SHH 50 from stock listing to August 11, 2021 are selected, and the accuracy of the deep learning algorithm is evaluated using confusion matrix, weighted F1 score, and Kappa coefficient. The analysis results show that this algorithm has a high classification prediction accuracy because it can identify most of the buy and sell instances and therefore has a better effect. In addition, compared with CNN that do not use the CBAM attention mechanism, classification performance is significantly improved. The results from this analysis can help investors determine their better investment strategies.","PeriodicalId":345723,"journal":{"name":"Fifth International Conference on Computer Information Science and Artificial Intelligence","volume":"117 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-03-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Stock market trend prediction using CBAM and CNN\",\"authors\":\"Yong Wang, Zhiyu Xu, Yisheng Li\",\"doi\":\"10.1117/12.2667378\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In recent years, deep learning has been increasingly used to analyze financial data. For deep learning to predict the buy, sell, and hold points of stocks are prone to over-fitting, unreasonable feature extraction, and other issues. This paper builds a CBAM-CNN model based on Convolutional Neural Network (CNN) and Convolutional Block Attention Module (CBAM) to predict the buy, sell and hold points. In order to verify the applicability and superiority of the proposed method, the shares of Dao 30 and SHH 50 from stock listing to August 11, 2021 are selected, and the accuracy of the deep learning algorithm is evaluated using confusion matrix, weighted F1 score, and Kappa coefficient. The analysis results show that this algorithm has a high classification prediction accuracy because it can identify most of the buy and sell instances and therefore has a better effect. In addition, compared with CNN that do not use the CBAM attention mechanism, classification performance is significantly improved. The results from this analysis can help investors determine their better investment strategies.\",\"PeriodicalId\":345723,\"journal\":{\"name\":\"Fifth International Conference on Computer Information Science and Artificial Intelligence\",\"volume\":\"117 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2023-03-28\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Fifth International Conference on Computer Information Science and Artificial Intelligence\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1117/12.2667378\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Fifth International Conference on Computer Information Science and Artificial Intelligence","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1117/12.2667378","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
In recent years, deep learning has been increasingly used to analyze financial data. For deep learning to predict the buy, sell, and hold points of stocks are prone to over-fitting, unreasonable feature extraction, and other issues. This paper builds a CBAM-CNN model based on Convolutional Neural Network (CNN) and Convolutional Block Attention Module (CBAM) to predict the buy, sell and hold points. In order to verify the applicability and superiority of the proposed method, the shares of Dao 30 and SHH 50 from stock listing to August 11, 2021 are selected, and the accuracy of the deep learning algorithm is evaluated using confusion matrix, weighted F1 score, and Kappa coefficient. The analysis results show that this algorithm has a high classification prediction accuracy because it can identify most of the buy and sell instances and therefore has a better effect. In addition, compared with CNN that do not use the CBAM attention mechanism, classification performance is significantly improved. The results from this analysis can help investors determine their better investment strategies.