tensorflow / tensorflow/transform
tft.scale_to_z_score_per_key should support non-string keys like tft.vocabulary does
Open
@zoyahav is already working on this.
Since Nov 8, 2021.
stat:contributions welcome
type:feature
- Dominant language
- Python
- Stars
- 989
- Forks
- 225
- PR merge metrics
- No merged PRs in 30d
Description
As it says in the title, tft.vocabulary allows you to pass in a feature of type tf.int[8|16|32|64] in addition to tf.string. It would be good if tft.scale_to_z_score_per_key could support this as well. Of course, I know I can just convert my int-valued keys to strings before calling tft.scale_to_z_score_per_key, but it would be easier if I didn't have to.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.