Is there a way to get all the machine learning algorigthms tried by azure automl for a machine learning job in python sdk?

Nuron 1 Reputation point
2022-09-05T02:37:49.883+00:00

I am trying azure automl through python sdk. What I need is to get all the algorithm names along with the best algorithm azure tried for that particular job using python sdk.
I have been exploring documentation but didn't get much.

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,554 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. romungi-MSFT 41,861 Reputation points Microsoft Employee
    2022-09-05T12:46:12.697+00:00

    @Nuron I believe this can be achieved by getting the best and fitted model from your automl run's get_output and then printing the details of the algorithms used by this model.

    automl_config = AutoMLConfig(…)  
    automl_run = experiment.submit(automl_config …)  
    best_run, fitted_model = automl_run.get_output()  
    

    Use fitted_model.steps to print the selected algorithm with its hyperparameter values
    This is documented here from the Azure ML documentation.

    I hope this helps!!

    If an answer is helpful, please click on 130616-image.png or upvote 130671-image.png which might help other community members reading this thread.

    0 comments No comments