Apply learned forest classifier. USAGE [hs,ps] = forestApply( data, forest, [maxDepth], [minCount], [best] ) INPUTS data - [NxF] N length F feature vectors forest - learned forest classification model maxDepth - [] maximum depth of tree minCount - [] minimum number of data points to allow split best - [0] if true use single best prediction per tree OUTPUTS hs - [Nx1] predicted output labels ps - [NxH] predicted output label probabilities EXAMPLE See also forestTrain Piotr's Computer Vision Matlab Toolbox Version 3.24 Copyright 2014 Piotr Dollar. [pdollar-at-gmail.com] Licensed under the Simplified BSD License [see external/bsd.txt]