You are on page 1of 4

Q.No.1: What is a linear model primarily used for?

a) Image recognition. C) Natural language processing

b) Regression analysis d) Recommender systems

Correct Answer: b) Regression analysis

Justification: Linear models are commonly used for regression analysis, where the goal is to predict a
continuous target variable based on input features.

2. Question: Which of the following is a key assumption of linear regression?

a) Non-linearity of the relationship

b) Multicollinearity

c) Homoscedasticity

d) Overfitting

Correct Answer: c) Homoscedasticity

Justification: Homoscedasticity assumes that the variance of the residuals is constant across all levels of
the independent variables.

3. Question: In linear regression, what is the coefficient that represents the intercept term?

a) Weight

b) Slope

c) Bias

d) Intercept

Correct Answer: d) Intercept

Justification: The intercept term represents the point where the regression line intersects the y-axis.

4. Question: Which algorithm can be used for linear classification tasks?

a) K-Nearest Neighbors
b) Decision Trees

c) Support Vector Machine

d) Linear Regression

Correct Answer: c) Support Vector Machine

Justification: Support Vector Machines can be used for linear classification tasks by finding the
hyperplane that best separates classes.

5. Question: What is the objective of Ridge Regression?

a) Minimize the sum of squared residuals

b) Maximize the likelihood function

c) Regularize the model to prevent overfitting

d) Fit a straight line to the data

Correct Answer: c) Regularize the model to prevent overfitting

Justification: Ridge Regression adds a regularization term to the linear regression objective to prevent
overfitting by penalizing large coefficients.

6. Question: Which evaluation metric is commonly used for assessing the performance of linear
regression models?

a) F1 Score

b) Mean Absolute Error (MAE)

c) Area Under the ROC Curve (AUC)

d) Precision

Correct Answer: b) Mean Absolute Error (MAE)

Justification: MAE measures the average absolute difference between the predicted and actual values,
making it suitable for regression models.

7. Question: What is the purpose of feature scaling in linear models?

a) To increase the complexity of the model

b) To normalize the target variable

c) To ensure that all features have the same scale


d) To reduce model bias

Correct Answer: c) To ensure that all features have the same scale

Justification: Feature scaling ensures that the coefficients of different features have similar magnitudes,
preventing some features from dominating the model.

8. Question: Which linear model is specifically designed for sparse datasets with a large number of
features?

a) Lasso Regression

b) Logistic Regression

c) Linear Discriminant Analysis (LDA)

d) Principal Component Analysis (PCA)

Correct Answer: a) Lasso Regression

Justification: Lasso Regression performs feature selection and is effective for sparse datasets with many
features.

9. Question: In linear regression, what does the R-squared value represent?

a) The coefficient of determination

b) The p-value of the model

c) The standard error of the residuals

d) The significance of the intercept

Correct Answer: a) The coefficient of determination

Justification: R-squared measures the proportion of the variance in the dependent variable that is
explained by the independent variables.

10. Question: Which technique is used to handle multicollinearity in linear regression?

a) Ridge Regression

b) Lasso Regression

c) Principal Component Analysis (PCA)

d) Support Vector Machines

Correct Answer: c) Principal Component Analysis (PCA)


Justification: PCA is a dimensionality reduction technique that can be used to address multicollinearity
by creating orthogonal (uncorrelated) features.

You might also like