81ae9daa3e7ac41dffb2853d3f8d2ecf2b8ee517,src/sagemaker/model_monitor/model_monitoring.py,DefaultModelMonitor,suggest_baseline,#DefaultModelMonitor#Any#Any#Any#Any#Any#Any#Any#Any#,1038

Before Change



        normalized_baseline_dataset_input = self._upload_and_convert_to_processing_input(
            source=baseline_dataset,
            destination=os.path.join(
                _CONTAINER_BASE_PATH, _CONTAINER_INPUT_PATH, _BASELINE_DATASET_INPUT_NAME
            ),
            name=_BASELINE_DATASET_INPUT_NAME,
        )

        // Unlike other input, dataset must be a directory for the Monitoring image.
        baseline_dataset_container_path = normalized_baseline_dataset_input.destination

        normalized_record_preprocessor_script_input = self._upload_and_convert_to_processing_input(
            source=record_preprocessor_script,
            destination=os.path.join(
                _CONTAINER_BASE_PATH, _CONTAINER_INPUT_PATH, _RECORD_PREPROCESSOR_SCRIPT_INPUT_NAME
            ),
            name=_RECORD_PREPROCESSOR_SCRIPT_INPUT_NAME,
        )

After Change



        normalized_baseline_dataset_input = self._upload_and_convert_to_processing_input(
            source=baseline_dataset,
            destination=str(
                pathlib.PurePosixPath(
                    _CONTAINER_BASE_PATH, _CONTAINER_INPUT_PATH, _BASELINE_DATASET_INPUT_NAME
                )
            ),
            name=_BASELINE_DATASET_INPUT_NAME,
        )
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 9

Instances


Project Name: aws/sagemaker-python-sdk
Commit Name: 81ae9daa3e7ac41dffb2853d3f8d2ecf2b8ee517
Time: 2020-08-05
Author: 6631887+laurenyu@users.noreply.github.com
File Name: src/sagemaker/model_monitor/model_monitoring.py
Class Name: DefaultModelMonitor
Method Name: suggest_baseline


Project Name: aws/sagemaker-python-sdk
Commit Name: 81ae9daa3e7ac41dffb2853d3f8d2ecf2b8ee517
Time: 2020-08-05
Author: 6631887+laurenyu@users.noreply.github.com
File Name: src/sagemaker/model_monitor/model_monitoring.py
Class Name: DefaultModelMonitor
Method Name: suggest_baseline


Project Name: aws/sagemaker-python-sdk
Commit Name: 81ae9daa3e7ac41dffb2853d3f8d2ecf2b8ee517
Time: 2020-08-05
Author: 6631887+laurenyu@users.noreply.github.com
File Name: src/sagemaker/model_monitor/model_monitoring.py
Class Name: DefaultModelMonitor
Method Name: _normalize_baseline_output


Project Name: aws/sagemaker-python-sdk
Commit Name: 81ae9daa3e7ac41dffb2853d3f8d2ecf2b8ee517
Time: 2020-08-05
Author: 6631887+laurenyu@users.noreply.github.com
File Name: src/sagemaker/model_monitor/model_monitoring.py
Class Name: DefaultModelMonitor
Method Name: _normalize_monitoring_output