Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Yue Zhao
pyod
Commits
0e10dab4
Unverified
Commit
0e10dab4
authored
5 years ago
by
Shihab Shahriar Khan
Committed by
GitHub
5 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Used effective n_jobs inside fit instead of user-supplied one
parent
e0aaef22
github/fork/Shihab-Shahriar/parallel_feat_bag
1 merge request
!197
Parallelize the fit and decision_function methods of FeatureBagging
Pipeline
#1495
failed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pyod/models/feature_bagging.py
+1
-1
pyod/models/feature_bagging.py
with
1 addition
and
1 deletion
+1
-1
pyod/models/feature_bagging.py
+
1
-
1
View file @
0e10dab4
...
...
@@ -282,7 +282,7 @@ class FeatureBagging(BaseDetector):
n_jobs
,
n_estimators
,
starts
=
_partition_estimators
(
self
.
n_estimators
,
self
.
n_jobs
)
all_results
=
Parallel
(
n_jobs
=
self
.
n_jobs
,
verbose
=
self
.
verbose
)(
all_results
=
Parallel
(
n_jobs
=
n_jobs
,
verbose
=
self
.
verbose
)(
delayed
(
_parallel_fit_estimators
)(
n_estimators
[
i
],
self
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets