1

I would like to use out-of-bag training/validation with a classifier such as RandomForestClassifier.

Is it possible to get the out-of-bag predictions?

I want the OOB predictions so I can compute precision/recall on instances not used to train the classifier.

If there are alternative approaches to getting the precision/recall, please let me know.

John
  • 219
  • 1
  • 4
  • 7

1 Answers1

1

It is possible to use RandomForestClassifer.oob_decision_function_ to compute the out-of-bag estimate on the training set.

Brian Spiering
  • 20,142
  • 2
  • 25
  • 102