MLS-C01 · Question #340
An ecommerce company has developed a XGBoost model in Amazon SageMaker to predict whether a customer will return a purchased item. The dataset is imbalanced. Only 5% of customers return items. A…
The correct answer is D. Tune the csv_weight hyperparameter and the scale_pos_weight hyperparameter by using. F1 metric combines both precision and recall which is more suitable for unbalanced datasets.
Question
An ecommerce company has developed a XGBoost model in Amazon SageMaker to predict whether a customer will return a purchased item. The dataset is imbalanced. Only 5% of customers return items. A data scientist must find the hyperparameters to capture as many instances of returned items as possible. The company has a small budget for compute. How should the data scientist meet these requirements MOST cost-effectively?
Options
- ATune all possible hyperparameters by using automatic model tuning (AMT). Optimize on
- BTune the csv_weight hyperparameter and the scale_pos_weight hyperparameter by using
- CTune all possible hyperparameters by using automatic model tuning (AMT). Optimize on
- DTune the csv_weight hyperparameter and the scale_pos_weight hyperparameter by using
How the community answered
(18 responses)- A22% (4)
- B17% (3)
- C6% (1)
- D56% (10)
Explanation
F1 metric combines both precision and recall which is more suitable for unbalanced datasets.
Topics
Community Discussion
No community discussion yet for this question.