Add a default value field for schema.feature
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- tensorflow
- Domain
- data, machine-learning
Research direction
Start by locating the Feature message and the code that constructs feature_specs from TFMD schemas, then compare its supported fields with tf.io.FixedLenFeature. Done means the schema can represent default values for missing features and those values are available when constructing the resulting feature_spec.
Written by the indexing model from the issue text.
Description
We use TFMD schemas to construct feature_specs to parse TFRecords. Some records may have missing entries for certain features, and in such cases we may want to allow a default value. This functionality is already supported in tf.io.FixedLenFeature. It would be nice to add some fields to the Feature message to mirror this:
message Feature {
...
oneof default_value_type {
int64 int_default = ...;
...
}
}
- 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 3/5 1-2 days Newbie friendliness 35/100
tensorflow/metadata#18 · 1 reaction ·
-
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 ·