cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

How to Log Pickle files as a part of Mlflow experiment run

User16826994223
Honored Contributor III

I want to log certain artifacts as python pickle as part of mlflow experiment

Is there a way to achieve this?

1 REPLY 1

sean_owen
Databricks Employee
Databricks Employee

Sure, pickle the object to a local file. Log it to your current run with mlflow.log_artifact. That's it. MLflow lets you log just about anything you want. However if you're experimenting with different variations on a sklearn Pipeline model, you could simply create and try each variation, log each directly with mlflow.sklearn.log_model, into one single MLflow experiment.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group