An ecommerce company wants to create five customer segments using age, income, and location, but the existing labels are unknown. A previously trained XGBoost model predicts whether a customer will respond to an email using those features. Why is the XGBoost model unsuitable for creating five segments, and what change would satisfy the requirement?
Choose an answer
Tap an option to check your answer.
Correct answer: The XGBoost model is a supervised algorithm that predicts labels. Use an unsupervised clustering algorithm such as k-means with K = 5 on the same features to produce five segments..
Why this is the answer
The correct answer is that XGBoost is a supervised algorithm designed to predict labels, not to discover inherent groupings in data. To create customer segments when labels are unknown, an unsupervised clustering algorithm like k-means is appropriate. K-means with K=5 will partition the customers into five distinct groups based on their age, income, and location. The other options are incorrect because: XGBoost outputs probabilities for a binary outcome, not a direct binary outcome, and PCA is a dimensionality reduction technique, not a segmentation method. Retraining XGBoost to predict five classes would only work if there were existing labeled segments, which isn't the case here. kNN is a supervised classification algorithm, also requiring labeled data for training, making it unsuitable for discovering unknown segments.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed