Construct a SageMaker AI XGBoost estimator with the Debugger XGBoost Report rule
The CreateXgboostReport rule collects the following output tensors from your training job:
-
hyperparameters
– Saves at the first step. -
metrics
– Saves loss and accuracy every 5 steps. -
feature_importance
– Saves every 5 steps. -
predictions
– Saves every 5 steps. -
labels
– Saves every 5 steps.
The output tensors are saved at a default S3 bucket. For example,
s3://sagemaker-
.<region>
-<12digit_account_id>
/<base-job-name>
/debug-output/
When you construct a SageMaker AI estimator for an XGBoost training job, specify the rule as shown in the following example code.