# Logistic Regression Interview Questions – Set 1 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 with logistic regression would find these practice tests very useful. The goal for 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 focus on following concepts related with logistic regression:

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

Other tests in this series includes some of the following:

### 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.
• Logistic regression classifier is also called as softmax classifier owing to the manner in which it classifies the data in multiple classes using 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 cross-entropy loss function. In other words, the weights of logistic regression classifier is 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 log of maximum likelihood function and applying negative to log loss function in order to use gradient descent for optimization purpose. This is why cross-entropy loss function is also called as log loss function.
• Examples of problems where logistic regression can be used is 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

Correct! Wrong!

Correct! Wrong!

Correct! Wrong!

Correct! Wrong!

Correct! Wrong!

Correct! Wrong!

Correct! Wrong!

Correct! Wrong!

Correct! Wrong!

Correct! Wrong!

Correct! Wrong!

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!! 