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

utils.py 433 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
  1. import mlflow
  2. def create_mlflow_experiment(experiment_name:str=None,artifact_location:str=None)->str:
  3. if experiment_name is not None and artifact_location is not None:
  4. experiment_id=mlflow.create_experiment(name=experiment_name,artifact_location=artifact_location,tags={"env":"dev","version":"1.0.0"})
  5. return experiment_id
  6. else:
  7. raise ValueError("please Provide experiment_name and artifact_location")
Tip!

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

Comments

Loading...