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 sqrt, log, sin, cos and tan transform primitives #1948
Conversation
tvdboom
commented
Mar 11, 2022
•
edited by gsheni
edited by gsheni
- Fixes Add Sine, Cosine, Tangent, SquareRoot, Log primitives #1943
I couldn't find a test where all primitives are systematically tested. Do I need to add a separate test for each or how should it be done? |
@tvdboom First, thanks for the contribution! Second, the transform primitives should all get tested in
That test should make sure that a feature is created using the primitive and that it calculates without error. That test does not actually test that the calculation is being performed correctly, but since you are using standard numpy functions, I don't think we need to worry about testing the results for correctness in this case, outside of the docstring tests. |
@thehomebrewnerd So if I understood correctly, since |
Codecov Report
@@ Coverage Diff @@
## main #1948 +/- ##
=======================================
Coverage 98.99% 98.99%
=======================================
Files 146 146
Lines 16438 16478 +40
=======================================
+ Hits 16273 16313 +40
Misses 165 165
Continue to review full report at Codecov.
|
I think adding these to the API reference should be sufficient. |
@tvdboom Did you by chance enable github actions to run on your fork of the repo? I am getting dozens of notifications that some of our automated workflows are running and failing on your fork. Unfortunately your forked repo doesn't have the secrets setup for these workflows to succeed and they will continue to fail and send the notifications of the failure. If actions are enabled, could you please disable them in the settings page? On another note, I'll take a final look through your PR today, but I think we should be close to approving and merging. |
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.
Looks good. Thanks again for the contribution!
@tvdboom Can you please review my message above about the github actions? I am continuing to get dozens of failed action run notices in my email daily about actions failing on your fork of the repo? So far I have not found a way to disable these notifications since they are coming from a repo you own. Can you please disable actions on your fork of this repo by going to Settings -> Actions -> General in GitHub? |