Unverified Commit 0e10dab4 authored by Shihab Shahriar Khan's avatar Shihab Shahriar Khan Committed by GitHub
Browse files

Used effective n_jobs inside fit instead of user-supplied one

1 merge request!197Parallelize the fit and decision_function methods of FeatureBagging
Pipeline #1495 failed with stages
Showing with 1 addition and 1 deletion
+1 -1
......@@ -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,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment