Spaces:
Sleeping
Sleeping
fschwartzer
commited on
Commit
·
34391be
1
Parent(s):
192d701
Update app.py
Browse files
app.py
CHANGED
@@ -284,8 +284,8 @@ def bootstrap_stats(bound_data, num_samples=1000):
|
|
284 |
bootstrapped_means.append(np.mean(bootstrap_sample))
|
285 |
|
286 |
# Calculate lower and higher bounds
|
287 |
-
lower_bound = np.percentile(bootstrapped_means,
|
288 |
-
higher_bound = np.percentile(bootstrapped_means,
|
289 |
|
290 |
return lower_bound, higher_bound
|
291 |
|
|
|
284 |
bootstrapped_means.append(np.mean(bootstrap_sample))
|
285 |
|
286 |
# Calculate lower and higher bounds
|
287 |
+
lower_bound = np.percentile(bootstrapped_means, 16.)
|
288 |
+
higher_bound = np.percentile(bootstrapped_means, 84.)
|
289 |
|
290 |
return lower_bound, higher_bound
|
291 |
|