alteryx / alteryx/evalml

Use `ww.init_series(schema=schema)` to retain origin in partial dependence

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

説明

- Currently, we explicitly pass along the origin and logical type when initializing woodwork on the updated partial dependence column. This means that if predictions ever become dependent on another woodwork attribute, we have to remember to add it at partial dependence, or we'll get incorrect predictions. To avoid that, we can pass along the original column's woodwork schema, but we have to wait for that ability to be implemented in `ww.init_schema` in [this woodwork issue](https://github.com/alteryx/woodwork/issues/1573).

Once that issue is completed and released, we should be able to do the following in partial dependence:

```python
X_eval.ww[variable] = ww.init_series(
part_dep_column,
schema=X_eval.ww.columns[variable]
)
```

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

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

評価

この issue はまだ評価されていません。

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

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