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

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
Date of publication2014-01-29 18:17:24
MaintainerKoskas Michel<[email protected]>
LicenseGPL (>= 2)
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 31, 2017, 4:30 a.m.