Bootstrap example for training