b7434a326b7d5734ba504727d26706743673ccaf,mltsp/tests/test_parallel_processing.py,,test_featurize_prediction_data_in_parallel,#,49
Before Change
def test_featurize_prediction_data_in_parallel():
Test parallel featurization of prediction TS data
// Check if Disco is running
try:
process = Popen(["disco", "status"], stdout=PIPE, stderr=PIPE)
stdout, stderr = process.communicate()
disco_running = "running" in stdout
except OSError:
disco_running = False
if not disco_running:
print("Disco not running - aborting test.")
return
generate_model()
After Change
def test_featurize_prediction_data_in_parallel():
Test parallel featurization of prediction TS data
disco_running = util.check_disco_running()
if not disco_running:
print("Disco not running - aborting test.")
return
generate_model()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 14
Instances Project Name: cesium-ml/cesium
Commit Name: b7434a326b7d5734ba504727d26706743673ccaf
Time: 2015-05-11
Author: a.crellinquick@gmail.com
File Name: mltsp/tests/test_parallel_processing.py
Class Name:
Method Name: test_featurize_prediction_data_in_parallel
Project Name: cesium-ml/cesium
Commit Name: b7434a326b7d5734ba504727d26706743673ccaf
Time: 2015-05-11
Author: a.crellinquick@gmail.com
File Name: mltsp/docker_scripts/docker_featurize.py
Class Name:
Method Name: do_featurization
Project Name: cesium-ml/cesium
Commit Name: b7434a326b7d5734ba504727d26706743673ccaf
Time: 2015-05-11
Author: a.crellinquick@gmail.com
File Name: mltsp/featurize.py
Class Name:
Method Name: generate_features
Project Name: cesium-ml/cesium
Commit Name: b7434a326b7d5734ba504727d26706743673ccaf
Time: 2015-05-11
Author: a.crellinquick@gmail.com
File Name: mltsp/tests/test_parallel_processing.py
Class Name:
Method Name: test_featurize_prediction_data_in_parallel