clf_knn
PURPOSE
Create a k nearest neighbor classifier.
SYNOPSIS
function clf = clf_knn( p, k, dist_fn )
DESCRIPTION
CROSS-REFERENCE INFORMATION
This function calls:
- clf_knn_fwd Apply a k-nearest neighbor classifier to X.
- clf_knn_train Train a k nearest neighbor classifier (memorization).
- dist_euclidean Calculates the Euclidean distance between vectors [FAST].
This function is called by:
- democlassify A demo used to test and demonstrate the usage of classifiers (clf_*)
Generated on Wed 03-May-2006 23:48:50 by m2html © 2003