Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

test_flow.py 362 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
  1. import mlflow
  2. with mlflow.start_run(run_name='ParentRun') as parent_run:
  3. # Log parameters or tags to the parent run
  4. mlflow.log_param('param1', 'value1')
  5. # Start a nested child run
  6. with mlflow.start_run(run_name='ChildRun', nested=True) as child_run:
  7. # Log metrics or artifacts to the child run
  8. mlflow.log_metric('metric1', 0.87)
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...