3SV-KNNC Optimization using SVR and LMKNN for Stock Price Prediction

F. Sinaga, Sunaryo Winardi, Gunawan
{"title":"3SV-KNNC Optimization using SVR and LMKNN for Stock Price Prediction","authors":"F. Sinaga, Sunaryo Winardi, Gunawan","doi":"10.1109/ICOSNIKOM56551.2022.10034892","DOIUrl":null,"url":null,"abstract":"In the capital market, a broker often finds it difficult to decide whether to buy or sell shares. Massive stock data and errors in reading stock indicators can result in a broker experiencing losses. From the abundance of stock data, it is difficult for a broker to determine rising, fixed, and falling prices because of the limited linear functions that are applied. The study purposed to divide the data into more than two data classes, namely rising prices, fixed prices, and falling prices with the regression function and predicted using classification techniques. The models proposed in this study are SV-knock-SVR (Support Vector Regression), SOM (Self Organizing Map), and LMKNN (Local Mean based K Nearest Neighbor). In this study, the data used from the Indonesia Stock Exchange with a 10-year dataset (2012 - 2021) with rising, fixed, and decreasing prices from 5 Blue Chip companies, namely Bank Rakyat Indonesia (BBRI), Astra International (ASII JK), PT. Gas Negara (PGAS), Telkom Indonesia (TLKM), and Bank Central Indonesia (BBCA). The raw data will be normalized to reduce the value of the data range. Then the indicator calculation will be carried out. Regression function used to the SVR (Support Vector Regression) to divide the data into three data classes. After that, the data is grouped and weighted on data using SOM, and the data will be classified using LMKNN (Local Mean based K Nearest Neighbor). Prediction results tested by comparing the results of the two-label SVM (Support Vector Machine) model and the three-label SVR (Support Vector Regression) model. From the test results, each of the highest accuracies are obtained in BBCV stock data 89.36% on the Laplacian kernel, ASII stock data 79.50% on the Laplacian kernel, TLKM stock data 96.43 % on the Gaussian kernel, BBRI stock data 93.53% on the Gaussian kernel and stock data PGAS 94.11% on Gaussian Kernel.","PeriodicalId":368379,"journal":{"name":"2022 IEEE International Conference of Computer Science and Information Technology (ICOSNIKOM)","volume":"286 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-10-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 IEEE International Conference of Computer Science and Information Technology (ICOSNIKOM)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICOSNIKOM56551.2022.10034892","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

In the capital market, a broker often finds it difficult to decide whether to buy or sell shares. Massive stock data and errors in reading stock indicators can result in a broker experiencing losses. From the abundance of stock data, it is difficult for a broker to determine rising, fixed, and falling prices because of the limited linear functions that are applied. The study purposed to divide the data into more than two data classes, namely rising prices, fixed prices, and falling prices with the regression function and predicted using classification techniques. The models proposed in this study are SV-knock-SVR (Support Vector Regression), SOM (Self Organizing Map), and LMKNN (Local Mean based K Nearest Neighbor). In this study, the data used from the Indonesia Stock Exchange with a 10-year dataset (2012 - 2021) with rising, fixed, and decreasing prices from 5 Blue Chip companies, namely Bank Rakyat Indonesia (BBRI), Astra International (ASII JK), PT. Gas Negara (PGAS), Telkom Indonesia (TLKM), and Bank Central Indonesia (BBCA). The raw data will be normalized to reduce the value of the data range. Then the indicator calculation will be carried out. Regression function used to the SVR (Support Vector Regression) to divide the data into three data classes. After that, the data is grouped and weighted on data using SOM, and the data will be classified using LMKNN (Local Mean based K Nearest Neighbor). Prediction results tested by comparing the results of the two-label SVM (Support Vector Machine) model and the three-label SVR (Support Vector Regression) model. From the test results, each of the highest accuracies are obtained in BBCV stock data 89.36% on the Laplacian kernel, ASII stock data 79.50% on the Laplacian kernel, TLKM stock data 96.43 % on the Gaussian kernel, BBRI stock data 93.53% on the Gaussian kernel and stock data PGAS 94.11% on Gaussian Kernel.
基于SVR和LMKNN的股票价格预测的sv - knnc优化
在资本市场上,经纪人常常很难决定是买进还是卖出股票。大量的股票数据和阅读股票指标的错误可能导致经纪人遭受损失。从大量的股票数据中,经纪人很难确定上涨、固定和下跌的价格,因为所应用的线性函数有限。本研究旨在通过回归函数将数据分为上涨价格、固定价格和下跌价格两个以上的数据类别,并使用分类技术进行预测。本研究提出的模型包括支持向量回归(svr -knock- svr)、自组织映射(SOM)和基于局部均值的K近邻(LMKNN)。在本研究中,使用的数据来自印度尼西亚证券交易所的10年数据集(2012 - 2021),其中包括5家蓝筹股公司的价格上涨,固定和下降,即印度尼西亚人民银行(BBRI),阿斯塔纳国际(ASII JK), PT. Gas Negara (PGAS), Telkom Indonesia (TLKM)和印度尼西亚中央银行(BBCA)。原始数据将被规范化,以减少数据范围的值。然后进行指标计算。采用回归函数SVR(支持向量回归)将数据划分为三个数据类。之后,使用SOM对数据进行分组和加权,并使用LMKNN (Local Mean based K Nearest Neighbor)对数据进行分类。通过比较双标签SVM(支持向量机)模型和三标签SVR(支持向量回归)模型的预测结果,对预测结果进行检验。从测试结果来看,BBCV股票数据在拉普拉斯核上的准确率分别为89.36%、79.50%、96.43%、BBRI股票数据在高斯核上的准确率分别为93.53%、94.11%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书