Advertisement
Advanced Machine Learning Fundamentals, Logistic Regression

What are best practices for Logistic Regression

Short answer

Scale your input features before training, check for multicollinearity between features, and choose the decision threshold based on the real cost of false positives and false negatives.

Save Machine Learning Fundamentals mock interview
Advertisement
AModel answer
Scale your input features before training, check for multicollinearity between features, and choose the decision threshold based on the real cost of false positives and false negatives.
Real-world example
An email service uses logistic regression to estimate the probability that a message is spam, then marks it as spam if that probability is above a chosen threshold.
Likely follow-ups
  • What is linear regression, What is a confusion matrix, What is the sigmoid function
Related topics