MLS-C01 · Question #93
A real estate company wants to create a machine learning model for predicting housing prices based on a historical dataset. The dataset contains 32 features. Which model will meet the business…
The correct answer is B. Linear regression. The company wants to predict continuous housing prices based on a dataset with multiple features.
Question
A real estate company wants to create a machine learning model for predicting housing prices based on a historical dataset. The dataset contains 32 features. Which model will meet the business requirement?
Options
- ALogistic regression
- BLinear regression
- CK-means
- DPrincipal component analysis (PCA)
How the community answered
(28 responses)- B96% (27)
- C4% (1)
Why each option
The company wants to predict continuous housing prices based on a dataset with multiple features.
Logistic regression is a classification algorithm used for predicting discrete categories or probabilities (e.g., fraudulent/not fraudulent), not continuous numerical values.
Linear regression is a supervised learning algorithm specifically designed for predicting a continuous target variable, such as housing prices, based on one or more independent features. It finds a linear relationship between the input features and the output value, making it suitable for this business requirement.
K-means is an unsupervised clustering algorithm used to group similar data points together, not for predicting a target variable.
Principal Component Analysis (PCA) is a dimensionality reduction technique, not a predictive model used for forecasting prices directly.
Concept tested: Identifying appropriate regression algorithms
Source: https://scikit-learn.org/stable/modules/linear_model.html#ordinary-least-squares
Topics
Community Discussion
No community discussion yet for this question.