Google Cloud Professional Machine Learning Engineer — Question 106
You work on the data science team for a multinational beverage company. You need to develop an ML model to predict the company’s profitability for a new line of naturally flavored bottled waters in different locations. You are provided with historical data that includes product types, product sales volumes, expenses, and profits for all regions. What should you use as the input and output for your model?
Answer options
- A. Use latitude, longitude, and product type as features. Use profit as model output.
- B. Use latitude, longitude, and product type as features. Use revenue and expenses as model outputs.
- C. Use product type and the feature cross of latitude with longitude, followed by binning, as features. Use profit as model output.
- D. Use product type and the feature cross of latitude with longitude, followed by binning, as features. Use revenue and expenses as model outputs.
Correct answer: C
Explanation
The correct choice is C because using the product type along with the cross-feature of latitude and longitude allows for a more nuanced prediction of profit, which is the desired output. Options A and B fail to account for the necessary feature interactions, while option D adds unnecessary complexity by predicting revenue and expenses instead of focusing directly on profit.