Data Science, Product Analytics, Ab Testing, Simulation, Deep Dives.
plt def get_kms_confidence_interval(num_batches, confidence = 0.95): # Running simulations tmp = [] for i in tqdm.tqdm(range(num_batches)): tmp_df = df.sample(df.shape[0], replace = True) tmp.append( { 'iteration': i, 'mean_kms': tmp_df.kms_during_program.mean() } ) # Saving data bootstrap_df =