Apply a k-nearest neighbor classifier to X.
USAGE
Y = clfKnnFwd( clf, X )
INPUTS
clf - trained model
X - nxp data array
OUTPUTS
Y - nx1 vector of labels predicted according to the clf
EXAMPLE
See also CLFKNN, CLFKNNTRAIN
CROSS-REFERENCE INFORMATION
This function calls:
clfKnnDist k-nearest neighbor classifier based on a distance matrix D.
pdist2 Calculates the distance between sets of vectors.