Designing and Implementing a Data Science Solution on Azure — Question 149
You manage an Azure Machine Learning workspace.
You plan to train a natural language processing (NLP) text classification model in multiple languages by using Azure Machine Learning Python SDK v2.
You need to configure the language of the text classification job by using automated machine learning.
Which method of the TextClassificationJob class should you use?
Answer options
- A. set_data
- B. set_featurization
- C. set_sweep
- D. set_training_parameters
Correct answer: B
Explanation
The correct answer is B, as the set_featurization method is specifically used to configure the features of the text classification job, including the language settings. The other options do not directly pertain to language configuration: set_data focuses on input data, set_sweep is for hyperparameter tuning, and set_training_parameters deals with training configurations.