DP-100 · Question #432
You create an Azure Machine learning workspace. You must use the Azure Machine Learning Python SDK v2 to define the search space for discrete hyperparameters. The hyperparameters must consist of a…
The correct answer is A. Choice. To define the search space for discrete hyperparameters using the Azure Machine Learning Python SDK v2, you should import the Choice class from the azure.ai.ml.sweep package. The Choice class allows you to specify a list of predetermined, comma-separated values for a discrete…
Question
Options
- AChoice
- BRandint
- CUniform
- DNormal
How the community answered
(33 responses)- A94% (31)
- B3% (1)
- C3% (1)
Explanation
To define the search space for discrete hyperparameters using the Azure Machine Learning Python SDK v2, you should import the Choice class from the azure.ai.ml.sweep package. The Choice class allows you to specify a list of predetermined, comma-separated values for a discrete https://learn.microsoft.com/en-us/azure/machine-learning/how-to-tune- hyperparameters?view=azureml-api-2
Topics
Community Discussion
No community discussion yet for this question.