Time Series Prediction using K-Nearest Neighbors Algorithm (Parallel)
Generic function to make a prediction for a time series. If a knn mode...
Creates a matrix to be used for calculating distances. The most recent...
Predicts next value of the time series using k-nearest neighbors algor...
Searches for the optimal values of k and d for a given time series. Fi...
Predicts values of the time series using k-nearest neighbors algorithm...
Two main functionalities are provided. One of them is predicting values with k-nearest neighbors algorithm and the other is optimizing the parameters k and d of the algorithm. These are carried out in parallel using multiple threads.