Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import mlflow
from mlflow import projects
token = dbutils.notebook.entry_point.getDbutils().notebook().getContext().apiToken().get()
dbutils.fs.put("file:///root/.databrickscfg","[DEFAULT]\nhost=https://<>\ntoken = "+token,overwrite=True)
params = {'learning_rate': 0.0001,'batch_size': 512}
ml_project_uri = ""
print(f"Running with param = {params}")
res_sub =, parameters=params)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.