# fernsRegApply

## PURPOSE

Apply learned fern regressor.

## SYNOPSIS

function [ys,ysCum] = fernsRegApply( data, ferns, inds )

## DESCRIPTION

     Apply learned fern regressor.

     USAGE
      [ys,ysCum] = fernsRegApply( data, ferns, [inds] )

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

     OUTPUTS
      ys       - [Nx1] predicted output values
      ysCum    - [NxM] predicted output values after each regressor

     EXAMPLE

     See also fernsRegTrain, fernsInds

     Piotr's Image&Video Toolbox      Version 2.50
     Copyright 2010 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:

- fernsInds Compute indices for each input by each fern.

This function is called by: