8ff10ccfa19a0f784f327b82bf9cec4aeaa9b672,src/sagemaker/sklearn/processing.py,SKLearnProcessor,__init__,#SKLearnProcessor#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,31
Before Change
if not command:
command = ["python3"]
image_tag = "{}-{}-{}".format(framework_version, "cpu", "py3")
image_uri = default_framework_uri("scikit-learn", region, image_tag)
super(SKLearnProcessor, self).__init__(
role=role,
image_uri=image_uri,
After Change
session = sagemaker_session or Session()
region = session.boto_region_name
image_uri = image_uris.retrieve(
defaults.SKLEARN_NAME, region, version=framework_version, instance_type=instance_type
)
super(SKLearnProcessor, self).__init__(
role=role,
image_uri=image_uri,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: aws/sagemaker-python-sdk
Commit Name: 8ff10ccfa19a0f784f327b82bf9cec4aeaa9b672
Time: 2020-07-20
Author: 6631887+laurenyu@users.noreply.github.com
File Name: src/sagemaker/sklearn/processing.py
Class Name: SKLearnProcessor
Method Name: __init__
Project Name: aws/sagemaker-python-sdk
Commit Name: 8ff10ccfa19a0f784f327b82bf9cec4aeaa9b672
Time: 2020-07-20
Author: 6631887+laurenyu@users.noreply.github.com
File Name: src/sagemaker/sklearn/estimator.py
Class Name: SKLearn
Method Name: __init__
Project Name: aws/sagemaker-python-sdk
Commit Name: e4485b77991041b214e4860f3999addfee8898fa
Time: 2020-07-17
Author: 6631887+laurenyu@users.noreply.github.com
File Name: src/sagemaker/xgboost/model.py
Class Name: XGBoostModel
Method Name: serving_image_uri