chore(ingest): add example of training metric/hyper parameters (#8491)

This commit is contained in:
Aseem Bansal 2023-07-25 13:53:16 +05:30 committed by GitHub
parent bf9f380350
commit cc46729137
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,6 +31,16 @@ metadata_change_proposal = MetadataChangeProposalWrapper(
description="my feature",
groups=model_group_urns,
mlFeatures=feature_urns,
trainingMetrics=[
models.MLMetricClass(
name="accuracy", description="accuracy of the model", value="1.0"
)
],
hyperParams=[
models.MLHyperParamClass(
name="hyper_1", description="hyper_1", value="0.102"
)
],
),
)