nerdexam
Amazon

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.

Modeling

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)
  • B
    96% (27)
  • C
    4% (1)

Why each option

The company wants to predict continuous housing prices based on a dataset with multiple features.

ALogistic regression

Logistic regression is a classification algorithm used for predicting discrete categories or probabilities (e.g., fraudulent/not fraudulent), not continuous numerical values.

BLinear regressionCorrect

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.

CK-means

K-means is an unsupervised clustering algorithm used to group similar data points together, not for predicting a target variable.

DPrincipal component analysis (PCA)

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

#Regression Models#Supervised Learning#Model Selection#Predictive Modeling

Community Discussion

No community discussion yet for this question.

Full MLS-C01 Practice