Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
3 views
in Azure by (13.1k points)
Can anyone help me with the python code that would return the trained model of Azure automl?

1 Answer

0 votes
by (26.7k points)

You can try the below code to get an explanation:

from azureml.train.automl.runtime.automl_explain_utilities import automl_setup_model_explanations

automl_explainer_setup_obj = automl_setup_model_explanations(fitted_model, X=X_train, 

                                                             X_test=X_test, y=y_train, 

                                                             task='classification')

After that, you will get the snapshot.

I hope this will help.

Want to become an Azure expert? join Azure master program now!!

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...