简体   繁体   English

具有自动驾驶步骤的 Sagemaker 管道

[英]Sagemaker Pipelines with Autopilot Step

I'm looking to combine the Autopilot AutoML training and deployment step into a wider Pipeline using Sagemaker.我希望使用 Sagemaker 将 Autopilot AutoML 训练和部署步骤结合到更广泛的管道中。

I can't find anything in the documentation around using AutoML with Pipelines.我在有关将 AutoML 与管道一起使用的文档中找不到任何内容。

Does anyone have any experience with trying something like this with Sagemaker?有没有人有在 Sagemaker 上尝试这样的事情的经验?

I don't believe pipelines support AutoML, you can see a list of supported steps here - https://docs.aws.amazon.com/sagemaker/latest/dg/build-and-manage-steps.html我不相信管道支持 AutoML,您可以在此处查看支持的步骤列表 - https://docs.aws.amazon.com/sagemaker/latest/dg/build-and-manage-steps.html

You could potentially add in a Lambda step and trigger an AutoML job from the lambda function.您可能会添加 Lambda 步骤并从 lambda 函数触发 AutoML 作业。 I'd also recommend rethinking the flow, since AutoML runs and trains using multiple algorithms.我还建议重新考虑流程,因为 AutoML 使用多种算法运行和训练。 While it is great for exploration, it might not be the best for reusable pipelines.虽然它非常适合探索,但它可能不是可重用管道的最佳选择。

Pipelines don't support an AutoML step today.目前,管道不支持 AutoML 步骤。 Check out this blog post which shows how to integrate AutoML into your Pipeline using Lambdas.查看这篇博文,其中展示了如何使用 Lambdas 将 AutoML 集成到您的管道中。

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

Particularly the example of how to launch AutoML in a Lambda function is here:特别是如何在 Lambda function 中启动 AutoML 的示例如下:

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

You can now integrate Sagemaker autopilot step into your pipeline as per this example :您现在可以按照此示例Sagemaker autopilot 步骤集成到您的管道中:

Good Luck祝你好运

Sagemaker pipeline now only supports ensembling training mode of AutoML as a native pipeline step which you can refer to the public doc and example notebook . Sagemaker 管道现在仅支持 AutoML 的集成训练模式作为原生管道步骤,您可以参考公共文档示例笔记本

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM