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
Add Repeating Basis Functions #171
Conversation
I've taken a few minutes to have a glance, will try to find some more time to look at the code later. |
Not sure why travis fails, seems to me like the issue is with other notebooks which i have not touched link. |
So there's a bug in a part of the code that has to do with the |
But this you may safely ignore, this is something that I am picking up with @pim-hoeven. |
Great. I'll have a look at the end of the day. |
I am having worries about the remainder behaviour. To me it feels like the base behaviour should be that it always drops the column. In my mind it would be used similar to this: You would have a feature union split the steps and pass the correct column to the model. I think having passthrough behaviour can still be valid but I would argue that it goes against a base behaviour. @MBrouns thoughts? |
Docs: Regarding faulty "drop" behavior: Default behavior "drop"/"passthrough": |
regarding the drop / passthrough I think we should go for the principal of least surprise and to me it feels like the transformer is most like the one hot encoder. The OHE keeps all the non-categorical columns and simply adds the encoded columns so for me it would make most sense to have the same behaviour here. On the other hand, the |
Oh yeah. I forgot to click the merge button. @RensDimmendaal well done! |
Whoo! :-) Thanks for the help. |
I worked on this a while ago in PR #147, but I started from a fresh branch because I decided to limit the scope only to repeating basis functions (#20), excluding the spanning basis functions (#29).
Feedback adapted so far:
To Do:
Could someone review the code?
I'll work on the documentation in the meantime as well.
Tagging people involved in PR #147: @kayhoogland @koaning @MBrouns