MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.22k stars 21.38k forks source link

blacklist_models and whitelist_models are wrong #49632

Closed damochiz closed 4 years ago

damochiz commented 4 years ago

The sample code in the Configure your experiment settings section is incorrect. The blacklist_models and whitelist_models must be list(str) type, but the sample is str type.

automl_classifier=AutoMLConfig( task='classification', primary_metric='AUC_weighted', experiment_timeout_minutes=30, blacklist_models='XGBoostClassifier', <--- this must be [''XGBoostClassifier''] training_data=train_data, label_column_name=label, n_cross_validations=2)

automl_regressor = AutoMLConfig( task='regression', experiment_timeout_minutes=60, whitelist_models='kNN regressor' <--- this must be ['KNN'] primary_metric='r2_score', training_data=train_data, label_column_name=label, n_cross_validations=5)


Document Details

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

ram-msft commented 4 years ago

@damochiz Thanks for the feedback. We are investigating the issue and will update you shortly.

ram-msft commented 4 years ago

@damochiz PR#https://github.com/MicrosoftDocs/azure-docs-pr/pull/106917 has been raised for this . We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.