Eko Aziz Apriadi, S. Sriyanto, Sri Lestari, Suhendro Yusuf Irianto
{"title":"Comparison of Performance of K-Nearest Neighbors and Neural Network Algorithm in Bitcoin Price Prediction","authors":"Eko Aziz Apriadi, S. Sriyanto, Sri Lestari, Suhendro Yusuf Irianto","doi":"10.33395/sinkron.v8i2.13418","DOIUrl":null,"url":null,"abstract":"This research evaluates and compares the performance of two prediction methods, namely K-Nearest Neighbors (K-NN) and Neural Network, in the context of Bitcoin price prediction. Historical Bitcoin price data is used as input to train and test both algorithms. Experimental results show that the K-NN algorithm produces a Root Mean Square Error (RSME) of 389,770 and a Mean Absolute Error (MAE) of 89,261, while the Neural Network has an RSME of 614,825 and an MAE of 284,190. Performance comparison analysis shows that, on this dataset, K-NN has better performance in predicting Bitcoin prices compared to Neural Network. These findings provide important insights for the selection of crypto asset price prediction models, especially Bitcoin, in financial and investment environments","PeriodicalId":34046,"journal":{"name":"Sinkron","volume":"25 7","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-03-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Sinkron","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.33395/sinkron.v8i2.13418","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
This research evaluates and compares the performance of two prediction methods, namely K-Nearest Neighbors (K-NN) and Neural Network, in the context of Bitcoin price prediction. Historical Bitcoin price data is used as input to train and test both algorithms. Experimental results show that the K-NN algorithm produces a Root Mean Square Error (RSME) of 389,770 and a Mean Absolute Error (MAE) of 89,261, while the Neural Network has an RSME of 614,825 and an MAE of 284,190. Performance comparison analysis shows that, on this dataset, K-NN has better performance in predicting Bitcoin prices compared to Neural Network. These findings provide important insights for the selection of crypto asset price prediction models, especially Bitcoin, in financial and investment environments