1c6c1a34727c620a6d419b9cfb67637371f79617,tests/integration_tests/test_cli.py,,_run_ludwig,#Any#,31
Before Change
def _run_ludwig(command, **ludwig_kwargs):
commands = ["ludwig", command]
for arg_name, value in ludwig_kwargs.items():
commands += ["--" + arg_name, value]
cmdline = " ".join(commands)
print(cmdline)
completed_process = subprocess.run(cmdline, shell=True, encoding="utf-8",
stdout=subprocess.PIPE,
env=os.environ.copy())
assert completed_process.returncode == 0
return completed_process
def _prepare_data(csv_filename, config_filename):
// Single sequence input, single category output
After Change
def _run_ludwig(command, **ludwig_kwargs):
commands = ["ludwig", command]
return _run_commands(commands, **ludwig_kwargs)
def _run_ludwig_horovod(command, **ludwig_kwargs):
commands = ["horovodrun", "-np", "2", "ludwig", command]
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: uber/ludwig
Commit Name: 1c6c1a34727c620a6d419b9cfb67637371f79617
Time: 2020-11-16
Author: tgaddair@gmail.com
File Name: tests/integration_tests/test_cli.py
Class Name:
Method Name: _run_ludwig
Project Name: GPflow/GPflow
Commit Name: 12bd394eb63ae4ee62c3fb3ba3badc8f1b40e1d3
Time: 2017-10-08
Author: art.art.v@gmail.com
File Name: gpflow/params/dataholders.py
Class Name: Minibatch
Method Name: _parameter_name
Project Name: GPflow/GPflow
Commit Name: 12bd394eb63ae4ee62c3fb3ba3badc8f1b40e1d3
Time: 2017-10-08
Author: art.art.v@gmail.com
File Name: gpflow/params/dataholders.py
Class Name: FormlessData
Method Name: _parameter_name