e4485b77991041b214e4860f3999addfee8898fa,src/sagemaker/xgboost/estimator.py,XGBoost,__init__,#XGBoost#Any#Any#Any#Any#Any#Any#,46
Before Change
entry_point, source_dir, hyperparameters, image_uri=image_uri, **kwargs
)
if py_version == "py2":
raise AttributeError("XGBoost container does not support Python 2, please use Python 3")
self.py_version = py_version
if framework_version in defaults.XGBOOST_SUPPORTED_VERSIONS:
self.framework_version = framework_version
After Change
self.sagemaker_session.boto_region_name,
version=framework_version,
py_version=self.py_version,
instance_type=kwargs.get("instance_type"),
image_scope="training",
)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
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/estimator.py
Class Name: XGBoost
Method Name: __init__
Project Name: cornellius-gp/gpytorch
Commit Name: 15b3563c3c7f700ee0bf23b0477527dfa5323cea
Time: 2018-06-07
Author: balandat@fb.com
File Name: gpytorch/module.py
Class Name: Module
Method Name: initialize
Project Name: pantsbuild/pants
Commit Name: 9c2fc4777623176ef3f41ad20da5addc7ad5e759
Time: 2015-10-24
Author: benjyw@gmail.com
File Name: src/python/pants/option/option_value_container.py
Class Name: OptionValueContainer
Method Name: get_rank