A bootstrap sample is a random sample with replacement, meaning that each record has an equal chance of being selected; after it has been selected, that record has an equal chance of being selected again. Usually, when we select records for training and testing, we sample without replacement, so that each record will appear in only the training or the testing data set.
In this recipe we learn how to build bootstrap samples, a feature not included in Modeler.
This recipe uses the datafile
cup98lrn_reduced_vars3.sav and the stream
Recipe – bootstrap one sample.str.
To create a bootstrap sample:
Recipe – bootstrap one sample.strby navigating to File | Open Stream.