5

As I understand, RF has an internal in-the-bag and out-of-bag validation technique such that 1/3 of the data is withheld (out of bag) and 2/3 of the data is used to train the rf model.

My question is that if above is true, why is there a need to partition the dataset and consequently use the xtest & ytest parameters.

Please consider the question in terms of regression and not classification.

3
  • I have exactly the same question, its unfortunately not documented in the help. Commented Nov 18, 2016 at 16:16
  • I am also a little confused about this. My guess is that this is about cross-validation. Maybe this question could be redirected to stats.stackexchange.com
    – Nemesi
    Commented Mar 30, 2017 at 15:40
  • 1
    Anyone know if this question ever got answered? After literally days of Googling I was excited to finally see this as one of my search results. Alas!
    – SeánMcK
    Commented Feb 9, 2018 at 9:27

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.