OkNNE: A k-Nearest Neighbours Ensemble via Optimal Model Selection for Regression

Optimal k Nearest Neighbours Ensemble is an ensemble of base k nearest neighbour models each constructed on a bootstrap sample with a random subset of features. k closest observations are identified for a test point "x" (say), in each base k nearest neighbour model to fit a stepwise regression to predict the output value of "x". The final predicted value of "x" is the mean of estimates given by all the models. The implemented model takes training and test datasets and trains the model on training data to predict the test data. Ali, A., Hamraz, M., Kumam, P., Khan, D.M., Khalil, U., Sulaiman, M. and Khan, Z. (2020) <DOI:10.1109/ACCESS.2020.3010099>.

Package details

AuthorAmjad Ali [aut, cre, cph], Zardad Khan [aut, ths], Muhammad Hamraz [aut]
MaintainerAmjad Ali <aalistat1@gmail.com>
LicenseGPL (>= 3)
Version1.0.1
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("OkNNE")

Try the OkNNE package in your browser

Any scripts or data that you put into this service are public.

OkNNE documentation built on Dec. 28, 2022, 1:07 a.m.