Spaces:
Sleeping
Sleeping
fschwartzer
commited on
Commit
•
74f85af
1
Parent(s):
9e35f08
Update app.py
Browse files
app.py
CHANGED
@@ -246,7 +246,7 @@ k_threshold = 5
|
|
246 |
# Function to perform bootstrap on the predicted target values
|
247 |
def bootstrap_stats(bound_data, num_samples=1000):
|
248 |
# Reshape the predicted_target array
|
249 |
-
bound_data = np.array(
|
250 |
|
251 |
# Bootstrap resampling
|
252 |
bootstrapped_means = []
|
|
|
246 |
# Function to perform bootstrap on the predicted target values
|
247 |
def bootstrap_stats(bound_data, num_samples=1000):
|
248 |
# Reshape the predicted_target array
|
249 |
+
bound_data = np.array(bound_data).reshape(-1, 1)
|
250 |
|
251 |
# Bootstrap resampling
|
252 |
bootstrapped_means = []
|