MachineLearningNotebooks icon indicating copy to clipboard operation
MachineLearningNotebooks copied to clipboard

AMLSettingsJsonString required and missing from doc

Open BillmanH opened this issue 7 years ago • 3 comments

run = AutoMLRun(experiment, run_id)
run.get_output()

returns: KeyError: 'AMLSettingsJsonString'

Is there some other item that should be included here?


Document Details

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

BillmanH avatar Jul 18 '19 17:07 BillmanH

I actually found out after some troubleshoot that you can only run this function on a model that had already been run within the kernel. If you are loading a run_id from an earlier run then there is no SMLSettingsJsonString to pull. This makes sense but might be a good thing to document.

BillmanH avatar Jul 18 '19 22:07 BillmanH

I was not able to reproduce this error using AutoMLRun class to load a previous run. Here is a sample notebook showing you how to explore previous runs: https://github.com/Azure/MachineLearningNotebooks/blob/master/how-to-use-azureml/automated-machine-learning/exploring-previous-runs/auto-ml-exploring-previous-runs.ipynb

When you ran into the error, were you trying to retrieve an run_id that previously trained in the workspace?

ayuwhu avatar Jul 22 '19 20:07 ayuwhu

You can receive this error when you use run_id of AutoML sub-run, not AutoML run itself.

pbartos avatar Feb 18 '20 15:02 pbartos