1
$\begingroup$

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.

$\endgroup$
1
$\begingroup$

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

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.