Utility to create a feature_spec from a schema
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python, tensorflow
- Domain
- machine-learning
Research direction
Compare the requested conversion with tensorflow_transform/tf_metadata/schema_utils.py lines 201-260, then inspect this repository for the appropriate schema utility location and related tests. Done means providing an equivalent utility here without requiring TensorFlow Transform and verifying its feature_spec output.
Written by the indexing model from the issue text.
Description
Converting a schema to a feature_spec = {feature.name: tf.io.FixedLenFeature(...) for feature in schema.feature} is a very common task. There is a utility to do this already in tensorfow transform, but there are many times where I don't need tensorflow transform except for that one function. I think it should belong in this repo instead.
- Dominant language
- Python
- Stars
- 110
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
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.
More from tensorflow/metadata
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
tensorflow/metadata#68 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
tensorflow/metadata#37 · 13 comments · 9 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
tensorflow/metadata#26 · 1 comment · 3 reactions ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
tensorflow/metadata#17 · 2 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
tensorflow/metadata#14 · 8 reactions ·
All issues in tensorflow/metadata
Similar issues
-
essnmx good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
[Feature] 奇物选择添加优先级 Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
syfoud/Simulated_Scepter#174 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Giskard-AI/giskard-oss#2840 · 1 comment ·
-
A claim comment carrying the issue number is silently declined while the workflow reports success Openarea: repo bug perceived difficulty: 2
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
yeti-platform/yeti#1380 ·