如何在使用SageMaker AutoML Python SDK训练模型时指定实例类型

0

【以下的问题经过翻译处理】 你好,

在使用SageMaker AutoML Python SDK进行模型训练时,是否有指定实例类型的方法?AutoML.deploy方法需要一个instance.type参数,但AutoML.fit方法不接受instance._type参数。

谢谢, Stefan

profile picture
EXPERT
asked 8 months ago30 views
1 Answer
0

【以下的回答经过翻译处理】 据我了解,当前无法自定义此实例类型选择 - 底层的CreateAutoMLJob API没有提供任何实例类型控制,因此Python SDK AutoML类在训练时无法指定实例类型。

虽然未来增加一些用户控制可能会很好,但值得一提的是,选项可能并不简单:例如在fit()中封装的自动ML过程的不同阶段(如预处理、训练、可解释性分析)可能有不同的基础设施需求,并且对于给定的数据集来说, 并行运行的不同算法也可能有不同的最佳选择。

profile picture
EXPERT
answered 8 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions