如何跳过码头数据类型验证步骤

发布于 2025-01-27 07:45:09 字数 462 浏览 3 评论 0原文

当我们创建pycaret设置时,例如:

from pycaret.regression import all

exp_reg101 = setup(data = data, target = 'Price', session_id=123,preprocess=False)

它将要求我们验证这样的数据类型; IE:

Following data types have been inferred automatically, if they are correct press enter to continue or type 'quit' otherwise

我只想跳过这一步骤并开始训练过程。

因为在本地,我们可以点击Enter,但是在Docker运行时,无法击中Enter。因此,在阅读行错误时,我们将获得EOF错误。或者,如果我们有任何其他方法可以处理。

While we create a pycaret setup, e.g.:

from pycaret.regression import all

exp_reg101 = setup(data = data, target = 'Price', session_id=123,preprocess=False)

It will ask us to verify the data types like this; i.e:

Following data types have been inferred automatically, if they are correct press enter to continue or type 'quit' otherwise

I just want to skip this step and start the training process.

Because in local we can hit enter but while running it in docker it is not possibe to hit enter. so we will get EOF error while reading line error. or if there is any other way we can deal with.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

初相遇 2025-02-03 07:45:09

使用无声 setup()的参数。 from docs

静音:布尔,默认= false

执行设置时,控制数据类型的确认输入。在完全自动化模式或在远程内核上执行时,这必须是正确的。

Use the silent parameter of setup(). From the docs:

silent: bool, default = False

Controls the confirmation input of data types when setup is executed. When executing in completely automated mode or on a remote kernel, this must be True.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文