Google Cloud Professional Machine Learning Engineer — Question 54

You are an ML engineer at a global car manufacture. You need to build an ML model to predict car sales in different cities around the world. Which features or feature crosses should you use to train city-specific relationships between car type and number of sales?

Answer options

Correct answer: C

Explanation

The correct answer is C, as it combines binned latitude and longitude with one-hot encoded car type to capture city-specific relationships effectively. Option A uses individual features which may not capture interactions, while B lacks the necessary binned features for this context. Option D utilizes two feature crosses, but C's approach is more efficient for establishing the required relationships.