Top MCQ on linear regression in Machine Learning

MCQ on Linear regression: If you are looking for MCQ on linear regression, then you are at the right place. In this blog post, you will get top question and answers on Regression in Machine Learning.

Along with Linear Regression MCQ, you will also get MCQ on Multiple regression and MCQ on Logistic Regression. The MCQs in this post are bifurcated into three parts:

  1. MCQ on Linear Regression
  2. MCQ on Multiple Regression
  3. MCQ on Logistic Regression

(Multiple Choice Question) MCQ on Linear Regression

  1. We should use Simple Linear Regression to predict the winner of a football game
  • ​True
  • ​False

2. Which of the following formulas is not a simple linear regression model ?

  • ​Salary = a * Experience
  • ​Salary = a * Experience + b
  • ​Salary = a * Experience + b * Age

3. What is the class used in Python to create a simple linear regressor ?

  • ​SimpleLinear
  • ​LinearRegression
  • ​LinReg
  • ​SimpleLinearRegression

4. What is the function used in R to create a simple linear regressor ?

  • ​lr
  • ​slr
  • ​lm
  • ​slm

5. What is the correct way of writing a simple linear regression equation in the formula parameter in R ?

  • ​Salary = YearsExperience
  • ​Salary ~ YearsExperience
  • ​Salary == YearsExperience
  • ​Salary = a * YearsExperience + b

Multiple Choice Questions on Multiple Regression

6. Which of the following formula is not a multiple linear regression model ?

  • ​Salary = a * Experience + b * Age + c
  • ​Salary = a * Experience + b * Age + c * Level
  • ​Salary = a * Experience + b * Age + c * Level + d
  • Salary = a * Experience + b * Age^2
  • ​Salary = a * Experience + b * Age

7. Which library to import in Python for Multiple Linear Regression ?

  • ​MultipleLinearRegression
  • ​MultipleRegression
  • ​LinearRegression
  • ​LinearModel

8. In Python, the code to create a multiple linear regressor is exactly the same as the one to create a simple linear regressor. 

  • ​True
  • ​False

9. In R, which multiple linear regression equation can we input in the formula parameter ?

  • ​Salary ~ *
  • ​Salary = *
  • ​Salary ~ .
  • ​Salary = Experience + Age

10. We should use Multiple Linear Regression to predict a dependent variable that is growing exponentially with time.

  • ​Yes
  • ​No

Multiple Choice Questions on Logistic Regression

11. Logistic Regression is a linear classifier

  • True
  • ​False

12. Logistic Regression returns probabilities

  • True
  • ​False

13. In Python, what is the class used to create a logistic regression classifier ?

  • ​GLM
  • ​LogisticRegression
  • ​Logit
  • ​LogReg

14. In R, what is the function used to create a Logistic Regression classifier ?

  • ​lr
  • ​lm
  • glm
  • ​glr

15. In R, what value do we need to input for the family parameter ?

  • ​family = linear
  • ​family = logistic
  • ​family = binomial
  • ​family = response

More Posts related to MCQ on Linear Regression

MCQs on Natural Language Processing with answers PDF

3 thoughts on “Top MCQ on linear regression in Machine Learning”

Leave a Comment