forest-confidence-interval
forest-confidence-interval copied to clipboard
cannot import name '_get_n_samples_bootstrap'
Hi folks, I'm trying to use fci but when I run: import forestci as fci
I get:
/opt/conda/lib/python3.6/site-packages/forestci/forestci.py in
ImportError: cannot import name '_get_n_samples_bootstrap'
Changing from sklearn.ensemble.forest import _generate_sample_indices, _get_n_samples_bootstrap to from sklearn.ensemble._forest import _generate_sample_indices, _get_n_samples_bootstrap in forestci.py seems to fix the issue.
Sorry about this. This is already updated in master, but we need to cut a release for this fix to make it to users. I will try do that tonight.
Do you have an update on when this change will be released? Thank you