Skip to content

DOC add explanation of n_jobs in permutation_importance #17723

New issue

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

Merged
merged 1 commit into from
Jun 25, 2020
Merged
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
3 changes: 2 additions & 1 deletion sklearn/inspection/_permutation_importance.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ def permutation_importance(estimator, X, y, *, scoring=None, n_repeats=5,
Number of times to permute a feature.

n_jobs : int or None, default=None
The number of jobs to use for the computation.
Number of jobs to run in parallel. The computation is done by computing
permutation score for each columns and parallelized over the columns.
`None` means 1 unless in a :obj:`joblib.parallel_backend` context.
`-1` means using all processors. See :term:`Glossary <n_jobs>`
for more details.
Expand Down