Renaming a saved model using Dataiku Python API
ankit_sikka
Registered Posts: 6 ✭
Best Answer
-
LouisDHulst Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Neuron, Registered, Neuron 2023 Posts: 54 Neuron
Hi @ankit_sikka ,
This should work:
client = dataiku.api_client() project = client.get_default_project() model = project.get_saved_model("model_id") settings = model.get_settings() raw_settings = settings.get_raw() raw_settings["name"] = 'new_name' settings.save()