Skip to Main Content Skip to Search
Product Documentation

OOBIndices property - Class: TreeBagger

Indicator matrix for out-of-bag observations

Description

The OOBIndices property is a logical array of size Nobs-by-NTrees where Nobs is the number of observations in the training data and NTrees is the number of trees in the ensemble. The (I,J) element is true if observation I is out-of-bag for tree J and false otherwise. In other words, a true value means observation I was not selected for the training data used to grow tree J.

See Also

classregtree

  


 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS