Logistic Regression Interview Questions – Set 1

neural networks interview questions

This page lists down the practice tests/interview questions and answers for Logistic regression in machine learning. Those wanting to test their machine learning knowledge in relation to logistic regression would find these practice tests very useful. The goal of these practice tests is to help you check your knowledge in logistic regression machine learning models from time to time. More importantly, when you are preparing for interviews, these practice tests are intended to be handy enough. Those going for freshers/intern interviews in the area of machine learning would also find these practice tests/interview questions to be very helpful.

This test primarily focuses on the following concepts related to logistic regression:

  • Introduction to logistic regression
  • Logistic regression examples
  • Types of logistic regression (Binomial, Multinomial, Ordinal)
  • Link function
  • Evaluation of logistic regression

Other tests in this series include some of the following:

You might also want to check a related post on Logistic regression titled – Training a logistic regression model using Python.

Logistic Regression Concepts (Brushing up)

  • Logistic regression is used to estimate/predict the discrete-valued output such as success or failure, 0 or 1, etc.
  • Logistic regression can be used for binary classification as well multinomial classification – classifying data in multiple classes.
  • A logistic regression classifier is also called a softmax classifier owing to the manner in which it classifies the data in multiple classes using the softmax function. You may want to check out my post on What’s Softmax function and why do we need it?
  • Logistic regression classifier is trained by applying gradient descent on the cross-entropy loss function. In other words, the weights of the logistic regression classifier are learned using gradient descent algorithm and cross-entropy loss function. You may want to check my post on Cross-entropy loss explained with Python examples.
  • The cost function of logistic regression is derived from taking the log of the maximum likelihood function and applying negative to log loss function in order to use gradient descent for optimization purposes. This is why the cross-entropy loss function is also called a log loss function.
  • Examples of problems where logistic regression can be used are whether a person is suffering from a specific disease or not; Or, a person is suffering from disease A, disease B, or disease C.
  • Logistic regression can be types such as binomial, multinomial, and ordinal
  • Logistic regression is used to estimate the probability of outcome dependent variable instead of actual value as like linear regression model.
  • Logistic regression models are evaluated using metrics such as accuracy/precision / recall, AIC, Deviance calculations (Null and Residual/ Model deviance) ROC curve, etc. You may want to check out my post on classification models metrics – Accuracy, Precision, Recall, and F-Score

Practice Test

Logistic regression is used to predict _________ valued output?

Correct! Wrong!

How much marks a student can get in a competitive exam based on hours of study can be solved using _________ regression model

Correct! Wrong!

Logistic regression is _________ when the observed outcome of dependent variable can have only two values such as 0 and 1 or success and failure

Correct! Wrong!

Whether a student will pass or fail in the competitive exam based on hours of study can be solved using _________ regression model

Correct! Wrong!

________ regression can be termed as a special case of _________ regression when the outcome variable is categorical

Correct! Wrong!

In logistic regression, the goal is to predict _________

Correct! Wrong!

Which of the following can be used to evaluate the performance of logistic regression model?

Correct! Wrong!

Which of the following is link function in logistic regression

Correct! Wrong!

Logistic regression is _________ when the observed outcome of dependent variable can have multiple possible types

Correct! Wrong!

In logistic regression, following technique is used to measure the goodness of the fit

Correct! Wrong!

Which of the following metrics is equal to True Positive / (True positive + False Positive)

Correct! Wrong!

Which of the following metrics is equal to True Positive / (True positive + False Negative)

Correct! Wrong!

Logistic Regression uses Softmax function for which of the following?

Correct! Wrong!

Logistic Regression Interview Questions - Set 1
You did extremely well!!
You did reasonably well!!
Better luck next time!!

Share your Results:

In case you have not scored well enough, it may be a good idea to go through basic machine learning concepts in relation to logistic regression. Following is the list of some good courses/pages:



Ajitesh Kumar
Follow me

Ajitesh Kumar

I have been recently working in the area of Data analytics including Data Science and Machine Learning / Deep Learning. I am also passionate about different technologies including programming languages such as Java/JEE, Javascript, Python, R, Julia, etc, and technologies such as Blockchain, mobile computing, cloud-native technologies, application security, cloud computing platforms, big data, etc. For latest updates and blogs, follow us on Twitter. I would love to connect with you on Linkedin. Check out my latest book titled as First Principles Thinking: Building winning products using first principles thinking
Posted in Data Science, Interview questions, Machine Learning. Tagged with , , .

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.