-
Notifications
You must be signed in to change notification settings - Fork 70
[Discuss] CHIP: Add user-provided documentation to metadata #975
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
A few examples where we think this would be useful:
|
Copying PR proposal below: CHIP: User-provided documentation for feature definitionsMotivationProgrammatic access to feature documentation is useful for integrating with systems aimed at ML explainability (e.g. SHAP) and feature discovery (e.g. feature catalogs). Currently, it's possible to inspect Chronon definitions to determine how a feature was computed, which is a type of documentation. However, there are other aspects of ML feature development that are not Proposed ChangeThere are 3 main changes in this proposal:
struct MetaData {
...
xx: optional string description
}
struct Aggregation {
...
xx: optional MetaData metaData
}
struct Derivation {
...
xx: optional MetaData metaData
}
def Derivation(name: str, expression: str, description: Optional[str] = None) -> ttypes.Derivation:
...
metadata = ttypes.MetaData(description=description) if description else None
return ttypes.Derivation(name, expression, metadata) New or Changed Public InterfacesThe Thrift API will change. However, all the changes to the definition are additive, no existing fields will be touched. There will be an effect (Chronon object diffs) on existing implementations that happen to coincidentally pass Rejected Alternatives
|
Implementation PR: #986. |
Hello! I'm looking for feedback on this CHIP to add user-provided documentation (descriptions) to Chronon objects. Details in the PR file here.
The text was updated successfully, but these errors were encountered: