Google Cloud Professional Data Engineer — Question 22
You are creating a model to predict housing prices. Due to budget constraints, you must run it on a single resource-constrained virtual machine. Which learning algorithm should you use?
Answer options
- A. Linear regression
- B. Logistic classification
- C. Recurrent neural network
- D. Feedforward neural network
Correct answer: A
Explanation
Linear regression is the best choice here as it is computationally efficient and requires minimal resources, making it ideal for a constrained environment. In contrast, Logistic classification is geared towards binary outcomes, while Recurrent and Feedforward neural networks are more resource-intensive and complex, making them less suitable for this scenario.