c21141762d380713b30ed4a0759e5628c49b095e,tests/integ/test_airflow_config.py,,test_linearlearner_airflow_config_uploads_data_source_to_s3,#Any#Any#,276

Before Change


    sagemaker_session, cpu_instance_type
):
    with timeout(seconds=AIRFLOW_CONFIG_TIMEOUT_IN_SECONDS):
        data_path = os.path.join(DATA_DIR, "one_p_mnist", "mnist.pkl.gz")
        pickle_args = {} if sys.version_info.major == 2 else {"encoding": "latin1"}

        // Load the data into memory as numpy arrays
        with gzip.open(data_path, "rb") as f:
            train_set, _, _ = pickle.load(f, **pickle_args)

        train_set[1][:100] = 1
        train_set[1][100:200] = 0
        train_set = train_set[0], train_set[1].astype(np.dtype("float32"))

After Change


    sagemaker_session, cpu_instance_type
):
    with timeout(seconds=AIRFLOW_CONFIG_TIMEOUT_IN_SECONDS):
        training_set = datasets.one_p_mnist()
        training_set[1][:100] = 1
        training_set[1][100:200] = 0
        training_set = training_set[0], training_set[1].astype(np.dtype("float32"))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 21

Instances


Project Name: aws/sagemaker-python-sdk
Commit Name: c21141762d380713b30ed4a0759e5628c49b095e
Time: 2020-06-23
Author: 6631887+laurenyu@users.noreply.github.com
File Name: tests/integ/test_airflow_config.py
Class Name:
Method Name: test_linearlearner_airflow_config_uploads_data_source_to_s3


Project Name: aws/sagemaker-python-sdk
Commit Name: c21141762d380713b30ed4a0759e5628c49b095e
Time: 2020-06-23
Author: 6631887+laurenyu@users.noreply.github.com
File Name: tests/integ/test_airflow_config.py
Class Name:
Method Name: test_fm_airflow_config_uploads_data_source_to_s3


Project Name: aws/sagemaker-python-sdk
Commit Name: c21141762d380713b30ed4a0759e5628c49b095e
Time: 2020-06-23
Author: 6631887+laurenyu@users.noreply.github.com
File Name: tests/integ/test_airflow_config.py
Class Name:
Method Name: test_knn_airflow_config_uploads_data_source_to_s3


Project Name: aws/sagemaker-python-sdk
Commit Name: c21141762d380713b30ed4a0759e5628c49b095e
Time: 2020-06-23
Author: 6631887+laurenyu@users.noreply.github.com
File Name: tests/integ/test_airflow_config.py
Class Name:
Method Name: test_linearlearner_airflow_config_uploads_data_source_to_s3