Skip to content

Instantly share code, notes, and snippets.

@YikaiLL
Created November 23, 2017 14:32
Show Gist options
  • Select an option

  • Save YikaiLL/0c3e62934513c167fdbe4ad56df9c0cf to your computer and use it in GitHub Desktop.

Select an option

Save YikaiLL/0c3e62934513c167fdbe4ad56df9c0cf to your computer and use it in GitHub Desktop.

Chapter 8 Classfication

8.5 Model Evaluation and Selection

8.5.4 Bootstrap

Unlike the accuracy estimation methods just mentioned, the bootstrap method samples the given training tuples uniformly with replacement.

.632 boostrap

$$(1-1/d)^d=1-e^{-1}=0.632$$ 63.2% will form the training set and 36.8% would be at the test set. Bootstrapping tends to be overly optimistic. It works best with small data sets.

Bootstrapping tends to be overly optimistic. It works best with small data sets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment