# fernsClfApply

## PURPOSE

Apply learned fern classifier.

## SYNOPSIS

function [hs,probs] = fernsClfApply( data, ferns, inds )

## DESCRIPTION

     Apply learned fern classifier.

     USAGE
      [hs,probs] = fernsClfApply( data, ferns, [inds] )

     INPUTS
      data     - [NxF] N length F binary feature vectors
      ferns    - learned fern classification model
      inds     - [NxM] cached inds (from previous call to fernsInds)

     OUTPUTS
      hs       - [Nx1] predicted output labels
      probs    - [NxH] predicted output label probabilities

     EXAMPLE

     See also fernsClfTrain, fernsInds

     Piotr's Image&Video Toolbox      Version 2.50
     Copyright 2012 Piotr Dollar.  [pdollar-at-caltech.edu]
     Please email me if you find bugs, or have suggestions or questions!
     Licensed under the Simplified BSD License [see external/bsd.txt]