Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ You can contribute in many ways:

### Report Bugs

Report bugs at <https://github.com/richford/AFQ-Insight/issues>.
Report bugs at <https://github.com/tractometry/AFQ-Insight/issues>.

If you are reporting a bug, please include:

Expand Down Expand Up @@ -64,7 +64,7 @@ articles, and such.
### Submit Feedback

The best way to send feedback is to file an issue at
<https://github.com/richford/AFQ-Insight/issues>.
<https://github.com/tractometry/AFQ-Insight/issues>.

If you are proposing a feature:

Expand Down
7 changes: 4 additions & 3 deletions afqinsight/_serial_bagging.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@
_parallel_predict_regression,
)
from sklearn.ensemble._base import _partition_estimators
from sklearn.utils import check_array, check_random_state, indices_to_mask, resample
from sklearn.utils.metaestimators import if_delegate_has_method
from sklearn.utils import check_array, check_random_state, resample
from sklearn.utils._mask import indices_to_mask
from sklearn.utils.metaestimators import available_if
from sklearn.utils.random import sample_without_replacement
from sklearn.utils.validation import (
_check_sample_weight,
Expand Down Expand Up @@ -610,7 +611,7 @@ def predict_log_proba(self, X):
else:
return np.log(self.predict_proba(X))

@if_delegate_has_method(delegate="base_estimator")
@available_if(lambda est: hasattr(est.base_estimator, "decision_function"))
def decision_function(self, X):
"""Average of the decision functions of the base classifiers.

Expand Down
16 changes: 8 additions & 8 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,18 @@ setup_requires =
setuptools_scm
python_requires = >=3.10
install_requires =
scipy==1.13.1
dipy>=1.0.0
matplotlib<3.9
scipy==1.14.1
dipy==1.9.0
matplotlib==3.9.3
groupyr>=0.3.4
numpy==1.23.5
pandas==2.1.4
numpy==1.26.4
pandas==2.2.3
requests
seaborn==0.13.0
scikit-learn==1.2.1
seaborn==0.13.2
scikit-learn==1.5.2
sklearn_pandas>=2.0.0
tqdm
statsmodels==0.14.0
statsmodels==0.14.4
zip_safe = False
include_package_data = True
packages = find:
Expand Down