Skip to content

Commit e24c844

Browse files
authored
Merge pull request #57 from nipype/enh/proba
Enh/proba
2 parents 8fd4536 + 8e121af commit e24c844

File tree

12 files changed

+1083
-461
lines changed

12 files changed

+1083
-461
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pydra_ml/_version.py export-subst

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,21 @@ jobs:
1212
fail-fast: true
1313
matrix:
1414
os:
15-
- windows-2019
16-
- ubuntu-20.04
15+
- windows-latest
16+
- ubuntu-latest
1717
- macos-latest
1818
python:
1919
- 3.8
2020
- 3.9
2121
- "3.10"
22-
- 3.11
22+
- "3.11"
2323

2424
steps:
25-
- uses: actions/checkout@v2
25+
- uses: actions/checkout@v4
2626
with: # no need for the history
2727
fetch-depth: 1
2828
- name: Set up Python ${{ matrix.python }}
29-
uses: actions/setup-python@v2
29+
uses: actions/setup-python@v4
3030
with:
3131
python-version: ${{ matrix.python }}
3232

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ jobs:
88
pypi-release:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v4
1212

1313
- name: Set up Python
14-
uses: actions/setup-python@v2
14+
uses: actions/setup-python@v4
1515
with:
16-
python-version: 3.7
16+
python-version: 3.11
1717

1818
- name: Install build & twine
1919
run: python -m pip install build twine

.github/workflows/release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,14 @@ on:
77
- master
88

99
env:
10-
# Pin to v10.28.0, which (as of 2021-05-25) is the latest version with assets
11-
AUTO_VERSION: v10.29.3
10+
AUTO_VERSION: v11.0.4
1211

1312
jobs:
1413
auto-release:
1514
runs-on: ubuntu-latest
1615
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
1716
steps:
18-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v4
1918

2019
- name: Prepare repository
2120
# Fetch full git history and tags
@@ -27,7 +26,7 @@ jobs:
2726
run: git config --local --unset http.https://github.com/.extraheader
2827

2928
- name: Set up Python
30-
uses: actions/setup-python@v2
29+
uses: actions/setup-python@v4
3130
with:
3231
python-version: 3.7
3332

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ will want to generate `x_indices` programmatically.
114114
- *n_splits*: Number of shuffle split iterations to use
115115
- *test_size*: Fraction of data to use for test set in each iteration
116116
- *clf_info*: List of scikit-learn classifiers to use.
117-
- *permute*: List of booleans to indicate whether to generate a null model or not
117+
- *permute*: List of booleans to indicate whether to generate a null model with permuted labels aka permutation test (set to true) or not (set to false)
118118
- *gen_feature_importance*: Boolean indicating whether unique feature importance method should be generated for each model if available (e.g., `coef_` for linear models, `feature_importances_` for tree-based models) *NOT FULLY TESTED: set to false*
119119
- *gen_permutation_importance*: Boolean indicating whether permutation_importance values are generated (model agnostic, available for all models) *NOT FULLY TESTED: set to false*
120120
- *gen_shap*: Boolean indicating whether shap values are generated (model agnostic, available for all models)

pydra_ml/__init__.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
import logging
22
import os
33

4-
from ._version import get_versions
4+
from . import _version
55

6-
__version__ = get_versions()["version"]
7-
del get_versions
6+
__version__ = _version.get_versions()["version"]
87

98
#
109
# Basic logger configuration

0 commit comments

Comments
 (0)