The Complete SPRLIB & ANNLIB

knn_loo_perf

- k-nearest neighbour classifier performance determination using the leave one out method

SYNOPSIS

double knn_loo_perf (k)

ARGUMENTS

int k The number of neighbours to be used in the nearest neighbour rule.

RETURNS

The performance of the k nearest neighbour rule on a data set edited using the leave one out method.

FUNCTION

This function calculates the k-nearest neighbour leave one out performance for the data set initialized using the knn_init function. The function only needs the number of neighbours as input. It is assumed that the dataset is already initialized using the knn_init.

SEE ALSO

knn_init

This document was generated using api2html on Thu Mar 5 09:00:00 MET DST 1998