Spaces:
Sleeping
Sleeping
fschwartzer
commited on
Commit
•
da31141
1
Parent(s):
4eb55de
Update app.py
Browse files
app.py
CHANGED
@@ -242,8 +242,8 @@ def bootstrap_stats(predicted_target, num_samples=1000):
|
|
242 |
bootstrapped_means.append(np.mean(bootstrap_sample))
|
243 |
|
244 |
# Calculate lower and higher bounds
|
245 |
-
lower_bound = np.percentile(bootstrapped_means,
|
246 |
-
higher_bound = np.percentile(bootstrapped_means,
|
247 |
|
248 |
# Calculate the mean value
|
249 |
mean_value = np.mean(bootstrapped_means)
|
|
|
242 |
bootstrapped_means.append(np.mean(bootstrap_sample))
|
243 |
|
244 |
# Calculate lower and higher bounds
|
245 |
+
lower_bound = np.percentile(bootstrapped_means, 15.)
|
246 |
+
higher_bound = np.percentile(bootstrapped_means, 85.)
|
247 |
|
248 |
# Calculate the mean value
|
249 |
mean_value = np.mean(bootstrapped_means)
|