We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I tried to run the aggregate_boot() function but got following error,
aggregate_boot()
---> 25 mi_m, mi_lb, mi_ub = aggregate_boot(mi) # shape (M,) 26 sigma_m, sigma_lb, sigma_ub = aggregate_boot(sigma) # shape (M,) 27 /opt/conda/lib/python3.9/site-packages/safepython/util.py in aggregate_boot(S, alfa) 328 329 S_m[j, :] = np.nanmean(S[j], axis=0) # bootstrap mean --> 330 idx = ~np.isnan(S[j][:, 1]) 331 if np.sum(idx) < Nboot: 332 warn('Statistics were computed using ' + '%d' % (np.sum(idx))+ IndexError: index 1 is out of bounds for axis 1 with size 1
The text was updated successfully, but these errors were encountered:
I think the possible solution might be changing the index value to 0 instead of 1. I was trying to run the function for the M shape as (1000,1)
0
1
M
(1000,1)
Sorry, something went wrong.
close SAFEtoolbox#1
80e0869
No branches or pull requests
I tried to run the
aggregate_boot()
function but got following error,The text was updated successfully, but these errors were encountered: