Azure / Azure/MachineLearningNotebooks

Make `AutoMLConfig` configurable with `PipelineParameter`

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

説明

Please make it possible to configure `AutoMLConfig` with `PipelineParameter`. It is very disappointing that you can not configure this when submitting a `Pipeline` with an `AutoMLStep` in it. I tried to set the arguments `primary_metric` and `label_column_name`. Both failed:

`primary_metric`:

```json
{
"error": {
"code": "UserError",
"message": "Invalid argument(s) 'primary_metric' specified. Supported value(s): 'accuracy, norm_macro_recall, precision_score_weighted, average_precision_score_weighted, AUC_weighted'.",
"details_uri": "https://aka.ms/AutoMLConfig",
"target": "primary_metric",
"inner_error": {
"code": "BadArgument",
"inner_error": {
"code": "ArgumentInvalid"
}
}
}
}
```

`label_column_name`:

```json
{
"error": {
"code": "UserError",
"message": "Argument [label_column_name] is of unsupported type: []. Supported type(s): [int, str]",
"details_uri": "https://aka.ms/AutoMLConfig",
"target": "label_column_name",
"inner_error": {
"code": "BadArgument",
"inner_error": {
"code": "ArgumentInvalid"
}
},
"reference_code": "061ed905-e59e-42b9-ad95-cd18f40b4358"
}
}
```

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 0bc2b21e-6b1a-cb94-2857-147177a29d7c
* Version Independent ID: d14620a6-a2f6-49f1-632e-73903d41de8c
* Content: [azureml.train.automl.automlconfig.AutoMLConfig class - Azure Machine Learning Python](https://docs.microsoft.com/en-us/python/api/azureml-train-automl-client/azureml.train.automl.automlconfig.automlconfig?view=azure-ml-py)
* Content Source: [AzureML-Docset/stable/docs-ref-autogen/azureml-train-automl-client/azureml.train.automl.automlconfig.AutoMLConfig.yml](https://github.com/MicrosoftDocs/MachineLearning-Python-pr/blob/live/AzureML-Docset/stable/docs-ref-autogen/azureml-train-automl-client/azureml.train.automl.automlconfig.AutoMLConfig.yml)
* Service: **machine-learning**
* Sub-service: **core**
* GitHub Login: @DebFro
* Microsoft Alias: **debfro**

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

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

調査の方向性

AutoMLConfig クラスのドキュメントとリンクされている AutoMLConfig.yml ソースから始め、primary_metric と label_column_name に対する PipelineParameter 値の検証方法を追跡してください。AutoMLStep を Pipeline で送信したときに、報告されているサポートされていない型のエラーなしで、両方の引数が PipelineParameter を受け付ければ完了です。

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

評価

技術スタック
azure, python
領域
api, machine-learning
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

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

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