Azure / Azure/MachineLearningNotebooks

Azure AutoML not working properly in Tutorial-NYCTaxi python notebook

オープン
#1,760 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Jupyter Notebook
スター
4.4k
フォーク
2.6k
PR マージ指標
30日以内にマージされた PR はありません

説明

Hi, the sample on https://github.com/Azure/MachineLearningNotebooks/tree/master/tutorials/regression-automl-nyc-taxi-data
Seems not to be working now "out of the box" and failing when invoking AutoML...

Concretely, when on the step "Train the automatic regression model" right on submitting the AutoML experiment - it was working before, so seems recent/due to some changes), upon executing this cell:
```
from azureml.core.experiment import Experiment
experiment = Experiment(ws, "Tutorial-NYCTaxi")
local_run = experiment.submit(automl_config, show_output=True)
```

theres happens a ValidationException "ValidationException: ValidationException: Message: Install the required versions of packages using the requirements file. Requirements file location: /anaconda/envs/azureml_py38/lib/python3.8/site-packages/azureml/automl/core/validated_linux_requirements.txt. Alternatively, use remote target to avoid dependency management. Package name/Required version/Installed version azureml-automl-runtime/scipy<=1.5.2,>=1.0.0/scipy 1.5.3 azureml-automl-runtime/scikit-learn<0.23.0,>=0.19.0/scikit-learn 1.0.2 azureml-train-automl-runtime/scipy<=1.5.2,>=1.0.0/scipy 1.5.3 azureml-train-automl-runtime/scikit-learn<0.23.0,>=0.19.0/scikit-learn 1.0.2 InnerException: None ErrorResponse { "error": { "code": "UserError", "message": "Install the required versions of packages using the requirements file. Requirements file location: /anaconda/envs/azureml_py38/lib/python3.8/site-packages/azureml/automl/core/validated_linux_requirements.txt. Alternatively, use remote target to avoid dependency management. \nPackage name/Required version/Installed version\nazureml-automl-runtime/scipy<=1.5.2,>=1.0.0/scipy 1.5.3\nazureml-automl-runtime/scikit-learn<0.23.0,>=0.19.0/scikit-learn 1.0.2\nazureml-train-automl-runtime/scipy<=1.5.2,>=1.0.0/scipy 1.5.3\nazureml-train-automl-runtime/scikit-learn<0.23.0,>=0.19.0/scikit-learn 1.0.2", "target": "azureml-automl-runtime,azureml-train-automl-runtime", "inner_error": { "code": "NotSupported", "inner_error": { "code": "IncompatibleOrMissingDependency" } }, "reference_code": "435ab938-fd87-49bc-932e-6eec0d6aee4f" } }"

I am executing this using a default compute instance and the Python 3.8 kernel with AzureML.
It fails with the experiment.submit, experiment.submit(automl_config, show_output=True)

I tried to install the referred requirements file, but cannot be found "pip install -r /anaconda/envs/azureml_py38/lib/python3.8/site-packages/azureml/automl/core/validated_linux_requirements.tx"

How can I resolve the dependencies properly? Earlier times it worked as a charm, without issues...

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

tutorials/regression-automl-nyc-taxi-data と「Train the automatic regression model」の手順から始め、次に失敗している experiment.submit 呼び出しと、Python 3.8 Azure ML 環境で報告されているパッケージバージョンを調査します。チュートリアルで、scipy と scikit-learn の互換性のない依存関係エラーなしに AutoML 実験を送信できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
azure, jupyter-notebook, python
領域
cloud, machine-learning
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。