dswah / pyGAM

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

Documentation erroneously states that `coef_[0]` is the intercept (bias) #335

Open Florent-H opened 1 year ago

Florent-H commented 1 year ago

In the pygam.pygam.LinearGAM section on readthedocs, the documentation states that coef_[0] is the intercept (bias), while in version 0.9.0, it is in fact coef_[-1].

It would be a quick fix that would prevent new users like me from making a mistake in usage.

dswah commented 5 months ago

thanks for pointing this out!