-
Notifications
You must be signed in to change notification settings - Fork 274
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
fixup scikit-learn PolynomialFeatures #273
Comments
@ksaur working on the same. |
Welcome! Please reach out with questions as necessary! :) |
@ksaur will do ksaur |
This is the error reproduced after implementing the above code for 1 dimension. Unable to find converter for model type <class 'numpy.ndarray'>. Is the error right? |
If you see this error, it's possible you don't have the latest hummingbird ( For "(1)" above: The error I get when I run your code (and the error I expect to see) is :
Please let me know if I misunderstood your question! Hopefully that makes sense! |
@ksaur, I have the updated version of hummingbird, was able to reproduce the error you got. |
Hi @Hemantr05 , just checking in to see if you have any questions? :) |
Hi @ksaur , none as of now. |
@ksaur Apologies for the delay. |
Just came over this library. Great initiative. However I second that there is a bug in the polynomial transformer: This code runs, but does not evaluate the test at the bottom to true, it looks like something is up with the polynomial features.
|
@ereide working on fixing the same. |
Hi @ereide Welcome! Thanks for reporting this! PolynomialFeatures is only partially implemented, so yes it is very likely that there is a bug. Thanks for this example! We will use it in our testing. |
In #269, the basics are implemented, but to be fully complete we need:
(1) degree larger than 2
(2) support for interaction_only
(3) more tests
The text was updated successfully, but these errors were encountered: