Machinelearningnotebooks: Deleting experiments

Created on 4 Feb 2019  Â·  18Comments  Â·  Source: Azure/MachineLearningNotebooks

Is it possible to delete individual experiments within a workspace. This would help keep things tidier and free up unneeded resources.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

2.0 feature-request

Most helpful comment

+1 delete() method in the SDK

All 18 comments

It is currently not possible to delete an experiment within a workspace but we are working on adding the functionality in the next several months.

Is there an ETA for this?

Any update on this issue?

@deepak-muniappan

Seriously there should have been an update on this already. My workspace is cluttered with months' worth of experiments and there should be a simple way to clean it up.

Hoping for this to come sooner rather than later to clear clutter. There has to be a better way other than starting a new workspace.

Are there any updates on this issue? This is definitely a must have for us. We are cluttered by months of experiment runs

+1 hoping to have an update on this soon

+1 hoping

+1 hoping

Well seems like they've added something in the latest version -> azureml-core-1.0.69
Now Experiment class has an archive function.
You can use it like this:

    from azureml.core.experiment import Experiment
    ws = Workspace.from_config(auth=authenticate())
    ex = Experiment(ws, 'experiment_name')
    ex.archive()

This disables the experiment and then it is not visible in the UI anymore.

+1 delete() method in the SDK

+1 run.delete()method in the SDK as well.

I see this is planned for version 2.0. What is the release date estimate?

a limited private preview is starting this month, public preview date is not confirmed - @jpe316 @danielsc

looks like the official documentation is ahead of the release. It already shows a delete method on the Experiment object

Latest package version (1.19.0) has indeed a delete method but it does not seem to allow deleting experiments with runs:

ipdb> Experiment.delete(ws, exp.id)
*** msrestazure.azure_exceptions.CloudError: Azure Error: UserError
Message: Only empty Experiments can be deleted. This experiment contains run(s)

preview is usable with limited support and features (but basic and distributed training works) - you can find the docs at https://aka.ms/azuremlv2 and the source repo at https://github.com/Azure/azureml-v2-preview

Was this page helpful?
0 / 5 - 0 ratings