dswah / pyGAM

[HELP REQUESTED] Generalized Additive Models in Python
https://pygam.readthedocs.io
Apache License 2.0
862 stars 159 forks source link

add dummy coding for categorical variables #211

Closed dswah closed 5 years ago

dswah commented 5 years ago

variables with n categories have only n-1 degrees of freedom.

stricter treatment of categorical variables will reduce statistical problems and reduce computational burden.

see: https://github.com/dswah/pyGAM/issues/209#issuecomment-424775104