learn-co-curriculum / dsc-2-23-09-resampling-methods-lab

Other
0 stars 0 forks source link

Initial bootstrap definition in solution needs review #5

Open benjamin-jacobson opened 5 years ago

benjamin-jacobson commented 5 years ago

In the "Bootstraping" section, 'n' does not flow through the solution code, and does not align with the instructions to create 'n' samples. Please review.

def bootstrap(sample, n): return np.random.choice(sample, size=len(sample), replace=True)