-
Notifications
You must be signed in to change notification settings - Fork 54
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
Features/98 moments - skew and kurtosis #615
Conversation
Codecov Report
@@ Coverage Diff @@
## master #615 +/- ##
========================================
Coverage 97.46% 97.47%
========================================
Files 77 77
Lines 15470 15663 +193
========================================
+ Hits 15078 15267 +189
- Misses 392 396 +4
Continue to review full report at Codecov.
|
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.
Nice PR. All the good stuff is inside, I could only find some cosmetics, tiny performance increases and a missing test case. Should be fixed in no time. Thanks Daniel!
added reverences to skew and kurtosis cleanup, removal of useless code added warning to documentation coverage increases and removal of code block in merge moments needed for skew and kurtosis, only required if said functions support multiple axes coverage update moved to the correct alphabetical place in statistics removed excess try except in requested changes, doc strings, reordering of moments w axis
2390d48
to
c0fda35
Compare
Description
Added
skew()
andkurtosis()
functions. Also fixed the spectral bug (hopefully)Issue/s resolved: #98
Changes proposed:
skew()
kurtosis()
np.inf
to max dtype value inheat.spatial.distance._quadratic_expand
to avoid issues with MKL backendType of change
Due Diligence
Does this change modify the behaviour of other functions? If so, which?
yes,
cdist
with the use of_quadratic_expand
will not return infinite values now.