Skip to content

Commit 80517ca

Browse files
committed
Fix Line length in example_parallel.py
1 parent ba98902 commit 80517ca

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

examples/example_parallel.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,10 @@ def main():
8585
processes = []
8686
spawn_classifier = get_spawn_classifier(X_train, y_train)
8787
for i in range(4): # set this at roughly half of your cores
88-
p = multiprocessing.Process(target=spawn_classifier, args=(i, 'breast_cancer'))
88+
p = multiprocessing.Process(
89+
target=spawn_classifier,
90+
args=(i, 'breast_cancer'),
91+
)
8992
p.start()
9093
processes.append(p)
9194
for p in processes:

0 commit comments

Comments
 (0)