How do I save model metrics from a Deep AR model training step to S3?

0

I have a sagemaker pipeline that trains a Deep-AR algorithm. The model metrics are displayed as "Output" in the sagemaker DAG, but I want to persist these metrics in a JSON file so I can baseline the model.

Is there any way to save the Deep-AR model's train and test evaluation metrics as a JSON on S3?

Casey
質問済み 8ヶ月前185ビュー
2回答
0

Hi,

If you speak about the metrics mentioned on this page ( https://docs.aws.amazon.com/sagemaker/latest/dg/training-metrics.html ), they are in CloudWatch,

CloudWatch has a generic way to export CW metrics to CSV: see https://docs.aws.amazon.com/prescriptive-guidance/latest/patterns/publish-amazon-cloudwatch-metrics-to-a-csv-file.html

Best,

Didier

profile pictureAWS
エキスパート
回答済み 8ヶ月前
0

If you are interested in baselining the model and comparing its performance against other models, you may want to consider using SageMaker experiments so that you can create, manage, analyze, and compare your machine learning experiments. SageMaker Experiments automatically tracks the inputs, parameters, configurations, and results of your iterations as runs. You can assign, group, and organize these runs into experiments. SageMaker Experiments is integrated with Amazon SageMaker Studio, providing a visual interface to browse your active and past experiments, compare runs on key performance metrics, and identify the best performing models.

https://docs.aws.amazon.com/sagemaker/latest/dg/experiments.html

It's specifically designed to address the usecase you're describing, and the cost is driven by the volume of metrics that are ingested, stored, and queried.

https://aws.amazon.com/sagemaker/pricing/

Cheers, David

AWS
回答済み 8ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ