clfKnnTrain

PURPOSE ^

Train a k nearest neighbor classifier (memorization).

SYNOPSIS ^

function clf = clfKnnTrain( clf, X, Y )

DESCRIPTION ^

 Train a k nearest neighbor classifier (memorization).

 USAGE
  clf = clfKnnTrain( clf, X, Y )

 INPUTS
  clf     - model to be trained
  X       - nxp data array
  Y       - nx1 array of labels

 OUTPUTS
  clf     - a trained k-nearest neighbor classifier.

 EXAMPLE

 See also CLFKNN, CLFKNNFWD

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Wed 03-Oct-2007 13:09:09 by m2html © 2003