0
$\begingroup$

I just started using scikit-learn and was learning about the BaggingClassifier. I am a little confused on what bootstrap means. The meaning on the scikit-learn website doesn't make sense. Just asking for a little help. Thanks.

$\endgroup$
2
  • 1
    $\begingroup$ See page 187 of ISLR here --> statlearning.com (click to download first edition). $\endgroup$
    – sk877
    Jun 29, 2021 at 19:14
  • $\begingroup$ Thank You :-) I think it will help a lot. $\endgroup$
    – KRD-Python
    Jun 30, 2021 at 12:23

1 Answer 1

0
$\begingroup$

Bootstrapping methods resample from the data with replacement to "fake more data". You've got many good explanations in stats SE. For bagging this means sampling from the training data a "new" data set for each base estimator that is fitted.

$\endgroup$
1
  • $\begingroup$ Your explanation really helped me understand. Thank You $\endgroup$
    – KRD-Python
    Jun 30, 2021 at 12:24

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.