c21141762d380713b30ed4a0759e5628c49b095e,tests/integ/test_tuner.py,,kmeans_train_set,#Any#,56
Before Change
@pytest.fixture(scope="module")
def kmeans_train_set(sagemaker_session):
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)
return train_set
@pytest.fixture(scope="module")
After Change
@pytest.fixture(scope="module")
def kmeans_train_set(sagemaker_session):
return datasets.one_p_mnist()
@pytest.fixture(scope="module")
def kmeans_estimator(sagemaker_session, cpu_instance_type):
In pattern: SUPERPATTERN
Frequency: 4
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_tuner.py
Class Name:
Method Name: kmeans_train_set
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_pca_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_record_set.py
Class Name:
Method Name: test_record_set
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_kmeans_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_tuner.py
Class Name:
Method Name: kmeans_train_set