tensorflow / tensorflow/transform

tft.scale_to_z_score_per_key should support non-string keys like tft.vocabulary does

Open
#253 0 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.