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

Create plot routine for extractor feets.extractors.ext_skew.Skew #49

Open
leliel12 opened this issue Jan 21, 2020 · 0 comments
Open

Create plot routine for extractor feets.extractors.ext_skew.Skew #49

leliel12 opened this issue Jan 21, 2020 · 0 comments
Assignees
Labels
Milestone

Comments

@leliel12
Copy link
Contributor

Create plot routine for extractor Skew.

Path: feets.extractors.ext_skew.py

Features

  • Skew

Extractor Documentation

Skew

The skewness of a sample is defined as follow:

$$Skewness = \frac{N}{(N-1)(N-2)} \sum_{i=1}^N (\frac{m_i-\hat{m}}{\sigma})^3$$

Example:

For a normal distribution it should be equal to zero:

>>> fs = feets.FeatureSpace(only=['Skew'])
>>> features, values = fs.extract(**lc_normal)
>>> dict(zip(features, values))
{'Skew': -0.00023325826785278685}

References

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

No branches or pull requests

3 participants