fschwartzer commited on
Commit
da31141
1 Parent(s): 4eb55de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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, 2.5)
246
- higher_bound = np.percentile(bootstrapped_means, 97.5)
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)