0
0

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 LabsにおけるAutoML-ToolkitのPythonラッパーであるpyautoml_toolkitの環境構築手順

Last updated at Posted at 2021-06-12

概要

Databricks Labsにて開発されているAutoML-ToolkitのPythonラッパーであるpyautoml_toolkitの環境構築手順を紹介します。
環境構築は実施できたのですがdemoのノートブックを適切に実行できなかったため、環境構築手順を残して未来に託すことにしました。

AutoML-Toolkitについては、下記で紹介されております

AutoMLがどういったものであるかは下記の記事の手順により体験できます。

手順

1. 下記のコードを実行してGithubのレポジトリをクローン後、セットアップの実行。

%sh
git clone https://github.com/databrickslabs/automl-toolkit.git /tmp/automl
cd /tmp/automl/python/
python setup.py bdist_wheel

image.png

2. ビルドしたwhlファイルをDBFS上に移動。

# create the directory
dbutils.fs.mkdirs("/lib/automltoolkit")

# delete files in the directory
dbutils.fs.rm("/lib/automltoolkit", True)

# whl file to dbfs
dbutils.fs.mv("file:/tmp/automl/python/dist", "/lib/automltoolkit", recurse = True)  

image.png

3. AutoML-Toolkitのライブラリをインストール

image.png

4. 先ほどビルドしたwhlファイルをインストール。"Library Source"に"DBFS/ADLS"を、"Library Type"に"Python Whl"を、"File Path"に"dbfs:/lib/automltoolkit/pyautoml_toolkit-0.8.1-py3-none-any.whl"を入力。

image.png

5. インストールされたことを確認

image.png

0
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?