Skip to content

Commit

Permalink
change default values
Browse files Browse the repository at this point in the history
  • Loading branch information
lionelkusch committed Jan 17, 2025
1 parent e3fc566 commit d39bed9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hidimstat/permutation_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from hidimstat.stat_tools import pval_from_two_sided_pval_and_sign, step_down_max_t


def permutation_test(X, y, estimator, n_permutations=1000, seed=0, n_jobs=1, verbose=0):
def permutation_test(X, y, estimator, n_permutations=1000, seed=0, n_jobs=-1, verbose=0):
"""
Permutation test
Expand All @@ -30,7 +30,7 @@ def permutation_test(X, y, estimator, n_permutations=1000, seed=0, n_jobs=1, ver
seed : int, optional (default=0)
Determines the permutations used for shuffling the target
n_jobs : int or None, optional (default=1)
n_jobs : int or None, optional (default=-1)
Number of CPUs to use during the cross validation.
verbose : int, optional (default=0)
Expand Down

0 comments on commit d39bed9

Please sign in to comment.