Skip to content
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 skew and kurtosis operations #740

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jbrooks-stripe
Copy link
Collaborator

@jbrooks-stripe jbrooks-stripe commented Apr 9, 2024

Summary

Adds operations for skew and kurtosis.

The implementation uses the same Welford/Knuth approach as the variance operation.
https://en.wikipedia.org/wiki/Algorithms_for_calculating_variance#Higher-order_statistics

I have the operations set as non-deletable as the reversals weren't straightforward (variance is also set this way).

Why / Goal

We have existing features in our previous feature store which rely on these statistics.

Test Plan

  • Added Unit Tests
  • Covered by existing CI
  • Integration tested

Checklist

  • Documentation update

Reviewers

@jbrooks-stripe jbrooks-stripe force-pushed the jbrooks-skew-kurtosis branch 2 times, most recently from 7d86d0e to ba667d6 Compare April 9, 2024 02:54
@nikhilsimha
Copy link
Contributor

Solid PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants