Learn Before
Concept

GAMs for Classification Problems

Similar to GAMs in regression problems, GAMs can also be used when responses are qualitative. Assuming that Y takes the value of either 0 or 1, we can start off with the logistic regression model log(p(X)1p(X))=β0+β1X1+β2X2+...+βpXplog( \frac{p(X)}{1-p(X)}) = \beta _0 + \beta _1X_{1} + \beta _2X_{2}+...+ \beta _pX_{p} and replace the linear component (βjXj\beta_jX_j) with separate non-linear functions (fj(Xj)f_j(X_j)) for every predictor variable. Our corresponding model is thus log(p(X)1p(X))=β0+f1(X1)+f2(X2)+...+fp(Xp)log( \frac{p(X)}{1-p(X)}) = \beta _0 + f_1(X_{1}) + f_2(X_{2})+...+ f_p(X_{p}).

0

2

Updated 2020-02-26

Tags

Data Science