top of page
Search

The Bootstrap Method

This post defines the bootstrap method, its applications, and example code to create a single bootstrap sample of a dataset.

Example of bootstrap method used to sample a dataset. Photo Source: https://www.educative.io/edpresso/what-is-the-bootstrap-method-in-data-science



What is the Bootstrap Method?


A resampling technique that involves iteratively sampling a dataset with replacement.



What is the Bootstrap Method used for?


It is a technique used to either estimate a population statistic (such as mean or standard deviation).


It can also be used to estimate the skill of a machine learning model; therefore, it is an alternative to cross-validation.



Example Code (in python) to Create a Single Bootstrap Sample of Dataset.


13 views0 comments

Recent Posts

See All
bottom of page