8442321b9b7a7cef7e3806b525965c36cea1549e,examples/60_search/example_parallel_manual_spawning.py,,,#,97

Before Change


// ============================

processes = []
spawn_classifier = get_spawn_classifier(X_train, y_train)
for i in range(4):  // set this at roughly half of your cores
    p = multiprocessing.Process(
        target=spawn_classifier,
        args=(i, "breast_cancer"),
    )
    p.start()
    processes.append(p)
for p in processes:
    p.join()

print("Starting to build an ensemble!")

After Change


            target=start_python_worker,
            args=(cluster.scheduler_address,),
        )
        process_python_worker.start()
        process_cli_worker = multiprocessing.Process(
            target=start_cli_worker,
            args=(cluster.scheduler_address,),
        )
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: automl/auto-sklearn
Commit Name: 8442321b9b7a7cef7e3806b525965c36cea1549e
Time: 2020-09-25
Author: feurerm@informatik.uni-freiburg.de
File Name: examples/60_search/example_parallel_manual_spawning.py
Class Name:
Method Name:


Project Name: vatlab/SoS
Commit Name: 28d0002b4e47820a25ed0e19c289e86875bc1b08
Time: 2019-02-17
Author: ben.bog@gmail.com
File Name: src/sos/controller.py
Class Name: Controller
Method Name: handle_master_push_msg


Project Name: sony/nnabla
Commit Name: 4cf9cfaa3ab7c77bf45f3e36079af7bc348515e8
Time: 2017-10-13
Author: yukio.obuchi@jp.sony.com
File Name: python/src/nnabla/utils/data_iterator.py
Class Name: DataIterator
Method Name: next