-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 root mean square feature #813
Conversation
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.
First of all: thanks a lot for your PR :-) In general I am quite ok with the changes in the feature calculators. I will now check the failing tests!
You did commit a few files that should not be there (the dask-worker space files and the pipeline file). If you want you can also add some entries in the .gitignore file to prevent this from happening!
So, concerning the test failures:
Which other tests did fail for you before you added the feature? |
Thanks, I'll keep working on it! When I run the tests and commited the changes, also all .coverage files where added as well. Obviously I dont want that. |
There is no good reason to not have those files added to .gitignore (other than: we just forgot to do it). |
Thats a good point. |
Okay I think I resolved all failing tests which were on my watch - thanks for the help - was some good learning for me :) |
Thanks! I have fixed the errors also on the main branch. Feel free to merge it back in. |
Codecov Report
@@ Coverage Diff @@
## main #813 +/- ##
=======================================
Coverage 95.91% 95.92%
=======================================
Files 18 18
Lines 1837 1841 +4
Branches 362 362
=======================================
+ Hits 1762 1766 +4
Misses 37 37
Partials 38 38
Continue to review full report at Codecov.
|
Done. Out of interest: What are u using to view the test results of code, which was pushed to github? Sth like Travic CI? Because reviewing them on the github-website doesnt work well for me. Also, reviewing from the bash on my local clone doesn't work too well. Is there maybe any nice gui? |
Depending on which IDE you are using, most modern IDEs come with nice support for showing test results. For example I am using VSCode together with the "Python Test Explorer for Visual Studio Code" extension - that works quite well if you want a "GUI". Concerning the failing tests: I think we are triggering an incompatibility in scikit-learn here. I have created #822 to bump the scikit-learn version to 0.22 (which is ok, as this is already some years old). At least for me this solves the issue. Would you like to test again once the branch is merged? By the way: I am planning to do a new release of tsfresh end of this week. There is no need to hurry (as there will be definitely another release), just for your information! |
I installed the extension and will try it next time :) Thanks for fixing the version-issue - I would never have had this idea! Works now. |
Cool! Thanks for your contribution! |
#811
I added the feature and unit tests. I build the docs.
Before I changed anything in the code already four unit tests failed. I am not sure how to handle this.
After I made my changes some more tests failed -in
tests.integrations.test_feature_extraction
:I assume, this is because adding a new features changes the df dimensions. Should I adjust them?