dswah / pyGAM

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

Equivalent of an 'lpmatrix' in MGCV gam predict function #313

Open henrytranter opened 2 years ago

henrytranter commented 2 years ago

I am currently looking to implement a function we have created in R in python. I am just about there. The R function uses the GAM functionality of MGCV, and during one prediction uses the predictor type "lpmatrix" which "yields the values of the linear predictor when postmultiplied by the parameter vector".

I am wondering if there is similar functionality in pyGAM, or if it can be achieved with what functionality is there? I can't seem to replicate it.