Interview Q&A / Machine Learning
Machine Learning interview questions
Supervised vs unsupervised learning, overfitting, metrics and the classic models, explained simply.
Prefer rapid revision? Practise Machine Learning short interview answers →
- How does logistic regression turn a score into a probability?
It computes a linear score z = w.x + b and passes it through the sigmoid 1/(1+e^-z), which squashes any number into 0 to 1. A threshold, usually 0.5, then converts the probability into a class.
BeginnerQuick answer1 min read