0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

DatabricksにてPyCaretにおけるsetupの実行が終了しない事象への対応方法

Posted at

概要

DatabricksにてPyCaretのsetupが完了しない場合には、"silent"と"html"の引数を設定することで解決します。

下記のPyCaretのissueに解決策が提示されていました。
PyCaret in Azure Databricks issue · Issue #781 · pycaret/pycaret (github.com)

エラー事象

下記のコードの実行が完了せず、実行したまま(Running command)となってしまう。

from pycaret.regression import *
s = setup(data, target = 'charges', session_id = 123)

image.png

対応方法

"setup"の引数に", silent = True, html = False"を追記。

from pycaret.regression import *
s = setup(data, target = 'charges', session_id = 123, silent = True, html = False)

image.png

0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?