2

Is there any method to get OOB error for each trees in the forest? The package provides access to 'importanceSD', but I didn't find how to get OOB error for each tree.

yliueagle
  • 1,191
  • 1
  • 7
  • 22

1 Answers1

0

OOB errors for each tree are printed in the output when you train the rf.

(If it's not available afterwards as an attribute on the rf object, you need to programmatically capture the output with capture.output or temporarily redirect stdout to file, then do a little text-processing... see e.g. this answer)

Community
  • 1
  • 1
smci
  • 32,567
  • 20
  • 113
  • 146