We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba98902 commit 80517caCopy full SHA for 80517ca
examples/example_parallel.py
@@ -85,7 +85,10 @@ def main():
85
processes = []
86
spawn_classifier = get_spawn_classifier(X_train, y_train)
87
for i in range(4): # set this at roughly half of your cores
88
- p = multiprocessing.Process(target=spawn_classifier, args=(i, 'breast_cancer'))
+ p = multiprocessing.Process(
89
+ target=spawn_classifier,
90
+ args=(i, 'breast_cancer'),
91
+ )
92
p.start()
93
processes.append(p)
94
for p in processes:
0 commit comments