Spaces:
Sleeping
Sleeping
fschwartzer
commited on
Commit
•
706edaf
1
Parent(s):
92b8f88
Update app.py
Browse files
app.py
CHANGED
@@ -246,8 +246,8 @@ def bootstrap_stats(predicted_target, num_samples=1000):
|
|
246 |
bootstrapped_means.append(np.mean(bootstrap_sample))
|
247 |
|
248 |
# Calculate lower and higher bounds
|
249 |
-
lower_bound = np.percentile(bootstrapped_means,
|
250 |
-
higher_bound = np.percentile(bootstrapped_means,
|
251 |
|
252 |
# Calculate the mean value
|
253 |
mean_value = np.mean(bootstrapped_means)
|
|
|
246 |
bootstrapped_means.append(np.mean(bootstrap_sample))
|
247 |
|
248 |
# Calculate lower and higher bounds
|
249 |
+
lower_bound = np.percentile(bootstrapped_means, 5.)
|
250 |
+
higher_bound = np.percentile(bootstrapped_means, 95.)
|
251 |
|
252 |
# Calculate the mean value
|
253 |
mean_value = np.mean(bootstrapped_means)
|