dswah / pyGAM

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

'GAM' object has no attribute 'score'? #280

Open xiang3874264 opened 4 years ago

xiang3874264 commented 4 years ago

I want to examine the explained deviance for a given X data and y. According to the docs, I could use the score method, but I only got an error said that 'LinearGAM' object has no attribute 'score'.

xiang3874264 commented 4 years ago

My python version is 3.65, and my pyGAM version is 0.8.0

maksak commented 3 years ago

I think you can use that with master branch. The default version of the documentation is latest, not stable.

xinliu2333 commented 2 years ago

Me too. What is the problem?