【问题标题】:Sagemaker Pipelines with Autopilot Step具有自动驾驶步骤的 Sagemaker 管道
【发布时间】:2022-11-19 10:36:10
【问题描述】:

我希望使用 Sagemaker 将 Autopilot AutoML 训练和部署步骤结合到更广泛的管道中。

我在有关将 AutoML 与管道一起使用的文档中找不到任何内容。

有没有人有在 Sagemaker 上尝试这样的事情的经验?

【问题讨论】:

    标签: amazon-web-services amazon-sagemaker


    【解决方案1】:

    我不相信管道支持 AutoML,您可以在此处查看支持的步骤列表 - https://docs.aws.amazon.com/sagemaker/latest/dg/build-and-manage-steps.html

    您可能会添加一个 Lambda 步骤并从 lambda 函数触发一个 AutoML 作业。我还建议重新考虑流程,因为 AutoML 使用多种算法运行和训练。虽然它非常适合探索,但它可能不是可重用管道的最佳选择。

    【讨论】:

    • 谢谢 - 是否有示例说明如何将 AutoML 步骤作为 Lambda 函数包含在内?
    【解决方案2】:

    目前,管道不支持 AutoML 步骤。查看这篇博文,其中展示了如何使用 Lambdas 将 AutoML 集成到您的管道中。

    https://aws.amazon.com/blogs/machine-learning/move-amazon-sagemaker-autopilot-ml-models-from-experimentation-to-production-using-amazon-sagemaker-pipelines/

    特别是如何在 Lambda 函数中启动 AutoML 的示例如下:

    https://github.com/aws/amazon-sagemaker-examples/blob/main/autopilot/sagemaker-autopilot-pipelines/start_autopilot_job.py

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2023-02-06
      • 1970-01-01
      • 1970-01-01
      • 2022-11-03
      • 2022-11-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多