Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GAM results of Pygam's GAM and mgcv GAM are not matching #356

Open
MRanka29 opened this issue Jul 15, 2024 · 0 comments
Open

GAM results of Pygam's GAM and mgcv GAM are not matching #356

MRanka29 opened this issue Jul 15, 2024 · 0 comments

Comments

@MRanka29
Copy link

Hi,

I am using GAM of Pygam and comparing the coefficients of the fit with the gam model of MGCV.

Below is the code snipet and the coefficient results of when I use GAM model of Pygam

Code Snipet - Pygam's GAM

image

Coefficient Results - Pygam's GAM

image

Code Snipet - GAM of mgcv package in R

image

Coefficient Results - GAM of mgcv package in R

image

The coefficients of both the fit don't match. Am I missing something here?

Thanks in Advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant