EasyDeepLearn

What is a Generalized Linear Model and when is it the right tool?

medium

Answer

  • A GLM has three ingredients: (1) a linear predictor η=wx\eta = \mathbf{w}^{\top}\mathbf{x}; (2) a link function gg relating η\eta to E[yx]\mathbb{E}[y \mid x], so g(μ)=ηg(\mu) = \eta; (3) a distribution from the exponential family for yy (Gaussian → linear regression, Bernoulli → logistic, Poisson → Poisson regression, Gamma → Gamma regression).
  • Use a GLM when your target has a known non-Gaussian distribution but the mean-predictor relationship is approximately linear on the right scale.
Check yourself — multiple choice
  • GLM only means Generalized Linear Model = regularized regression
  • It combines a linear predictor, a link function, and an exponential-family distribution
  • GLM is always logistic regression
  • GLM requires normally distributed y

Linear predictor + link + exponential-family distribution ⇒ Gaussian, logistic, Poisson, etc.

#linear-regression#linear-models#theory

Practise Supervised Learning

215 interview questions in this topic.

Related questions