-
-
Notifications
You must be signed in to change notification settings - Fork 258
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
[MRG] Bug-Fix in Polynomial-Features #417
Conversation
Opened dask/dask-glm#72 in relation to some of the test failures here. Usage of |
I'll rebase hopefully, later today |
cdbaacc
to
d4ce2b9
Compare
@datajanko it should be okay to rebase now, the errors showing up here have been fixed in |
parameters are not recognized during fitting
d4ce2b9
to
d716725
Compare
degree=self.degree, | ||
interaction_only=self.interaction_only, | ||
include_bias=self.include_bias, | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can this be made more elegant using super
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think so. We're composing our class with a separate scikit-learn PolynomialFeatures. Using super would be a way to call a method of the parent class, passing ourself as the self
.
Thanks for the patience with the CI. |
While working on #366 I realized that the PolynomialFeatures transformer does not respect the passed parameters correctly. The PR fixes this and provides a test