DecodeAI
← Question Bank

Machine Learning

Linear Methods For Classification

Interview questions on Linear Methods For Classification.

11 questions

The Logit Function and Entropy

Q1. The entropy of a single binary outcome with probability $p$ to receive 1 is defined as:$$

Sign in to bookmark

H(p) ≡ −p\log{p}−(1−p)\log(1−p) $$1. At what pp does H(p)H(p) attain its maximum value? 2. What is the relationship between the entropy H(p)H(p) and the logit function, given pp?

The Logit Function and Entropy

Q2. What is the difference between linear regression and logistic regression?

Sign in to bookmark

The Logit Function and Entropy

Q3. What is the logistic function (sigmoid function), and how is it used in logistic regression?

Sign in to bookmark

The Logit Function and Entropy

Q4. What is the purpose of the odds ratio in logistic regression?

Sign in to bookmark

The Logit Function and Entropy

Q5. What is the cost function in logistic regression, and why is it used?

Sign in to bookmark

The Logit Function and Entropy

Q6. What are the assumptions of logistic regression?

Sign in to bookmark

The Logit Function and Entropy

Q7. How do you deal with multi-collinearity in logistic regression?

Sign in to bookmark

The Logit Function and Entropy

Q8. What is the purpose of regularization in logistic regression, and how does it work?

Sign in to bookmark

The Logit Function and Entropy

Q9. What is the ROC curve in the context of logistic regression?

Sign in to bookmark

The Logit Function and Entropy

Q10. How do you evaluate the performance of a logistic regression model?

Sign in to bookmark

The Logit Function and Entropy

Q11. For logistic regression, why is log loss recommended over MSE (mean squared error)?

Sign in to bookmark