Azure-docs: blacklist_models and whitelist_models are wrong

Created on 6 Mar 2020  Â·  2Comments  Â·  Source: MicrosoftDocs/azure-docs

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.

Pri2 corsubsvc cxp machine-learninsvc product-question triaged

All 2 comments

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

@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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mrdfuse picture mrdfuse  Â·  3Comments

varma31 picture varma31  Â·  3Comments

DeepPuddles picture DeepPuddles  Â·  3Comments

JamesDLD picture JamesDLD  Â·  3Comments

AronT-TLV picture AronT-TLV  Â·  3Comments