clfKnnFwd

PURPOSE ^

Apply a k-nearest neighbor classifier to X.

SYNOPSIS ^

function Y = clfKnnFwd( clf, X )

DESCRIPTION ^

 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

 Piotr's Image&Video Toolbox      Version 2.0
 Copyright 2008 Piotr Dollar.  [pdollar-at-caltech.edu]
 Please email me if you find bugs, or have suggestions or questions!
 Licensed under the Lesser GPL [see external/lgpl.txt]

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated by m2html © 2003