aws / aws/aws-step-functions-data-science-sdk-python

Feature Request: Improved Support/Documentation for PipelineModel

オープン
#143 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
documentation
主要言語
Python
スター
299
フォーク
84
PR マージ指標
30日以内にマージされた PR はありません

説明

While an example includes use of PipelineModel: https://github.com/aws/aws-step-functions-data-science-sdk-python/blob/main/src/stepfunctions/template/pipeline/inference.py#L128

This is a no-op: https://github.com/aws/aws-step-functions-data-science-sdk-python/blob/main/src/stepfunctions/template/pipeline/inference.py#L142

Setting the parameters property results in no changes to the CreateModel API call.
Instead, this method should be called: https://github.com/aws/aws-step-functions-data-science-sdk-python/blob/master/src/stepfunctions/steps/states.py#L201

which performs the desired update: self.fields[Field.Parameters.value] = params

Overall, while the example should likely be updated and documentation provided on use of PipelineModel, this method of parameter updating feels like a workaround. Ideally, ModelStep could take PipelineModel as input.

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

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

調査の方向性

src/stepfunctions/template/pipeline/inference.py の PipelineModel の例と no-op parameters プロパティから始め、次に src/stepfunctions/steps/states.py のパラメータ更新と比較します。PipelineModel と ModelStep の意図された関係を判断し、例とドキュメントを更新して、パラメータの変更が CreateModel API 呼び出しに反映されるようにします。

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

評価

技術スタック
aws, python
領域
backend-api-design, machine-learning
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
30/100

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

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