Remove a published python script from designer in "Microsoft Auzre Machine Learning" framework ?

Jef 1 Reputation point
2021-09-10T09:31:31.247+00:00

Hello,

I created a module that i have published using

from azureml.pipeline.core.graph import InputPortDef, OutputPortDef
from azureml.pipeline.core.module import Module

datastore = ws.get_default_datastore()

p_in = InputPortDef(
    name="p_in", 
    default_datastore_mode="mount", 
    default_data_reference_name=datastore.name, 
    label="Données de production"
    )

module = Module.create(ws, name="Well Clustering", description="use well prod to create n class of producters")
entry_version = module.publish_python_script("main.py", "initial", 
                                             inputs=[p_in], outputs=[], params = { "n_classes": 4},
                                             version="1", source_directory=".")

It works and i can see it in the Designer as a "Custom Module" with the right version, but how can i "unregister it"

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
3,338 questions
{count} votes

1 answer

Sort by: Most helpful
  1. GiftA-MSFT 11,176 Reputation points
    2021-09-23T04:05:06.773+00:00

    Hi, please go to Azure ML Studio > Assets > Components to view all your custom components. Select target component and click Archive on the top action bar to archive that component from your list. You can also turn on View archived button to view all your archived component and restore them back to the list if needed. Hope this helps.

    134439-image.png

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.