ExactSampling: ExactSampling: risk evaluation using exact resampling methods for the k Nearest Neighbor algorithm.

ExactSampling contains functions that estimate the risk associated to a kNN prediction function (either in regression or binary classification) based on resampling method (leave-p-out cross-validation or bootstrap). It also contain a function knn.search to obtain the list of k nearest neighbors for each point in the sample, and a function to compute the empirical risk of a kNN prediction function.

Package details

AuthorKai LI
MaintainerKoskas Michel<[email protected]>
LicenseGPL (>= 2)
Version1.0
Package repositoryView on R-Forge
Installation Install the latest version of this package by entering the following in R:
install.packages("ExactSampling", repos="http://R-Forge.R-project.org")

Try the ExactSampling package in your browser

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

ExactSampling documentation built on May 2, 2019, 6:08 p.m.