What is the use of proximity matrix in the random forest algorithm?

A proximity matrix is used for the following cases :

  • Missing value imputation
  • Detection of outliers