B = fillProximities(B)
B = fillProximities(B,'param1',val1,'param2',val2,...)
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.|