I have seen other posts in this forum but didn't find any convincing answer.Random Forest has an another way of tuning hyperparameter via OOB by design. OOB and CV are not the same as OOB error is calculated based on a portion of trees in Forest rather by full Forest.So what are the advantages and disadvantages of using OOB instead of a CV?Is getting to train on more data by using OOB correct to say?
Which is better: Out of Bag (OOB) or Cross-Validation (CV) error estimates?
random forest;cross validation;sampling;hyperparameter
OOB samples are a very efficient way to obtain error estimates for random forests. From a computational perspective, OOB are definitely preferred over CV.Also, it holds that if the number of bootstrap samples is large enough, CV and OOB samples will produce the same (or very similar) error estimates. Thus, if you perform many bootstrap samples, I would recommend performing cross-validation along the way with OOB samples until the OOB error converges.