feets icon indicating copy to clipboard operation
feets copied to clipboard

Create plot routine for extractor ``feets.extractors.ext_small_kurtosis.SmallKurtosis``

Open leliel12 opened this issue 6 years ago • 0 comments

Create plot routine for extractor SmallKurtosis.

Path: feets.extractors.ext_small_kurtosis.py

Features

  • SmallKurtosis

Extractor Documentation

SmallKurtosis

Small sample kurtosis of the magnitudes.

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

For a normal distribution, the small kurtosis should be zero:

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

See http://www.xycoon.com/peakedness_small_sample_test_1.htm

References

leliel12 avatar Jan 21 '20 20:01 leliel12