feets icon indicating copy to clipboard operation
feets copied to clipboard

Create plot routine for extractor ``feets.extractors.ext_skew.Skew``

Open leliel12 opened this issue 6 years ago • 0 comments

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

leliel12 avatar Jan 21 '20 20:01 leliel12