Main Content

fillprox

Class: TreeBagger

Proximity matrix for training data

Syntax

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

Description

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

B = fillprox(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'.
'NumPrint'Number of training cycles (grown trees) after which TreeBagger displays a diagnostic message showing training progress. Default is no diagnostic messages.