I want to track an entire notebook and log the parameters of cleaning steps that occur before training a model. I'd like to use mlflow to do it, but on all the docs it looks like you have to track models using this format:
with mlflow.start_run():
...
Is there a way to track an entire notebook using mlflow without the with block?
Yes, it's possible to start and end an
mlflowrun without the context manager syntax.To do this you can simply write:
You can read more about it in the mlflow documentation.