Skip to Main Content Skip to Search
Product Documentation

fillProximities - Class: TreeBagger

Proximity matrix for training data

Syntax

B = fillProximities(B)
B = fillProximities(B,'param1',val1,'param2',val2,...

Description

B = fillProximities(B) computes a proximity matrix for the training data and stores it in the Properties field of B.

B = fillProximities(B,'param1',val1,'param2',val2,...) specifies optional parameter name/value pairs:

'trees'Either 'all' or a vector of indices of the trees in the ensemble to be used in computing the proximity matrix. Default is 'all'.
'nprint'Number of training cycles (grown trees) after which TreeBagger displays a diagnostic message showing training progress. Default is no diagnostic messages.

See Also

CompactTreeBagger.outlierMeasure | CompactTreeBagger.proximity

  


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