Abstract
This paper aims to use the Support Vector Machine (SVM) and K-Nearest Neighbor (K-NN) for univariate time series prediction. The main goal of this study is to compare between Support Vector Machine and K-Nearest Neighbor to predict time series data. The dataset for the monthly gold prices was used during the period from Nov -1989 – Dec-2019, which represents 362 observations. SVM and K-NN models were fitted based on 90% of data as training set, and then their accuracy was compared using the statistical measure RMSE. The results indicated that SVM was better than K-NN in predicting future gold prices, based on RMSE= 33.77.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.