-
Notifications
You must be signed in to change notification settings - Fork 160
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
patsy like formula creation #249
base: master
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #249 +/- ##
==========================================
- Coverage 95.18% 94.91% -0.27%
==========================================
Files 22 22
Lines 3178 3246 +68
==========================================
+ Hits 3025 3081 +56
- Misses 153 165 +12
Continue to review full report at Codecov.
|
I have no idea why the last commit "Merge branch |
@arose13 this is awesome! thank you very much! However, we have recently changed the license to Apache 2.0 to allow proprietary use of the library, which means downstream users would NOT need to release the source-code of their application when they use pyGAM. The previous GPLv3 license is quite strict, and the hope is that a more passive license will encourage (proprietary) contributors to keep improving this library. Please let me know if you are ok with this change. Current License: Apache 2.0 (tldr: any use and modifications are allowed, with any license, with or without release source-code. all modifications must be explicitly stated.) Old license for reference: GPLv3 (tldr: any modifications and downstream applications must be made open-source and released with the same license) |
@dswah Thanks and that's very cool. I am okay with the change in license. |
I think this is a very nice feature! |
I've been using this for my own work and I feel the average joe and jane would like that they can use this package like more like the R package. This is because of the term list method currently used only allows Numpy column indices.
Now you can you import
from_formula()
and use it like the following.c
is just like R and statsmodels and allows you to declare a column as a factorl
,s
allows you to unambiguously declare terms as linear or spline terms (respectively)NOTES
col_a * col_b
yet.