- initialization routine for the k-nearest neighbour classifier
SYNOPSIS
knn_init
(dset)
ARGUMENTS
DATASET
*dset
The dataset on which the k-nearest neighbour classifier is
determined.
RETURNS
TRUE if an error occurred, and FALSE otherwise.
FUNCTION
This routine is required for the initizalization of the k-nearest neighbour
classifier. It takes as an argument a dataset and performs the necessary
memory allocations to be able to perform nearest neighbour classifications
and other nearest neighbour routines. The dataset is required to be either
a LEARNSET or an IOSET (see DATASET-flags).