Container Contract Outputs - Amazon SageMaker

Container Contract Outputs

The container can analyze the data available in the *dataset_source* path and write reports to the path in *output_path*. The container code can write any reports that suit your needs.

If you use the following structure and contract, certain output files are treated specially by Amazon SageMaker in the visualization and API affordances This applies only to tabular datasets.

Table: Output Files for Tabular Datasets
File Name Description

This file is expected to have columnar statistics for each feature in the dataset that is analyzed. See the schema for this file in the next section.


This file is expected to have the constraints on the features observed. See the schema of this file below.


This file is expected to have the list of violations found in this current set of data as compared to the baseline statistics and constraints file specified in the baseline_constaints and baseline_statistics path.

In addition, if the publish_cloudwatch_metrics value is "Enabled" container code can emit Amazon CloudWatch metrics in this location: /opt/ml/output/metrics/cloudwatch. The schema for these files is described in the following sections.