EasyDeepLearn

What is a Generalized Additive Model (GAM)?

hard

Answer

  • g(E[Y])  =  β0  +  f1(x1)  +  f2(x2)g(E[Y])\; = \;{\beta}_{0}\; + \;f_{1}(x_{1})\; + \;f_{2}(x_{2}) + ..., where each fjf_{j} is a smooth (usually spline).
  • Extends GLM by letting each feature enter through a non-parametric smooth.
  • Interpretable (partial dependence plot per feature), captures non-linearity without explicit interactions.
  • Fit via penalized splines (mgcv in R, pygam in Python).
  • Modern uses: interpretable ML (competes with GBDT on tabular), forecasting (Prophet is a GAM).
Check yourself — multiple choice
  • Only linear
  • g(E[Y]) = Σ fj(xj)f_{j}(x_{j}) with smooths fjf_{j}; extends GLM to non-linear per feature; interpretable + competitive with GBDT on tabular; e.g. Prophet
  • Same as GLM
  • Not real

GAM: sum of smooth functions per feature; interpretable non-linearity.

#regression#glm

Practise Statistics Fundamentals

215 interview questions in this topic.

Related questions