Skip to content

Commit

Permalink
chore(ingest): add example of training metric/hyper parameters (#8491)
Browse files Browse the repository at this point in the history
  • Loading branch information
anshbansal authored Jul 25, 2023
1 parent bf9f380 commit cc46729
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions metadata-ingestion/examples/library/create_mlmodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,16 @@
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"
)
],
),
)

Expand Down

0 comments on commit cc46729

Please sign in to comment.