Name | tifex-py JSON |
Version |
0.1.1
JSON |
| download |
home_page | None |
Summary | TODO |
upload_time | 2024-12-08 11:55:52 |
maintainer | None |
docs_url | None |
author | None |
requires_python | None |
license | MIT LICENCE Copyright (c) 2016 Maximilian Christ, Blue Yonder GmbH Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
feature
extraction
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# proj-adl-classification
## statistical_feature.py
Using GPU to compute statistical features based on PyTorch.
Also compare the results with the features computed by CPU (Numpy).
The return is a pd dataframe with columns: 'feature name', 'feature value gpu', 'feature value cpu', and 'time consumption'.
#### X - Time series
"*": No reference
<br>
"* **": More than one reference and one is questionable
<br>
"~": Further research required on feature
<br>
## Statistical Features
|Number| Feature | Description | Info |
| -------- | ------- | ------- | ------- |
1| calculate_harmonic_mean_abs(X)| Calculates the harmonic mean of the absolute values of X| * |
2|calculate_trimmed_mean_abs(X)| Calculates the trimmed mean of absolute values of X| * |
3|calculate_std_abs(X) | Calculates the standard deviation of the absolute values of X | * |
4|calculate_skewness_abs(X)| Calculate skewness of absolute values of X|*|
5|calculate_kurtosis_abs(X)|Calculates the kurtosis of the absolute values of X| * |
6|calculate_median_abs|Calculates the median of the absolute values of X|*|
7|calculate_min_abs(X)|Calculates the minimum value of the absolute values of X| *|
8|calculate_range_abs(X)|Calculates the range of the absolute values of X|*|
9|calculate_variance_abs(X)|Calculates the variance of the absolute values of X|*|
10|calculate_mean_absolute_deviation(X)|Calculates the mean of the absolute deviation of X | ~|
11|calculate_signal_magnitude_area(X)|Calculates the magnitude area of X. The sum of the absolute values of X| ~|
12|calculate_cardinality(X)|~|
13|calculate_rms_to_mean_abs(X)|Computes the ratio of the RMS value to mean absolute value of X|*|
14|calculate_area_under_squared_curve(X)|Computed the area under the curve of X squared|*|
15|calculate_exponential_moving_average(X, param)|Calculates the exponential moving average of X|*|
16|calculate_fisher_information(X)|Computes the Fisher information of X|~|
17|calculate_local_maxima_and_minima(X)|Calculates the local maxima and minima of X|*|
18|calculate_log_return(X)|Returns the logarithm of the ratio between the last and first values of which is a measure of the percentage change in X|~|
19|calculate_lower_complete_moment(X)||*|
20|calculate_mean_second_derivative_central(X)|Returns the mean of the second derivative of X|
21|calculate_median_second_derivative_central(X)|Calculates the median of the second derivative of X|*|
23|calculate_ratio_of_fluctuations(X)|Computes the ratio of positive and negative fluctuations in X|*|
24|calculate_ratio_value_number_to_sequence_length(X)|Returns the ratio of length of a set of X to the length X|*|
25|calculate_second_order_difference(X)|Returns the second differential of X|**|
26|calculate_signal_resultant(X)||*|
27|calculate_sum_of_negative_values(X)|Calculates the sum of negative values in X|*|
28|calculate_sum_of_positive_values(X)|Returns the sum of positive values in X|*|
29|calculate_variance_of_absolute_differences(X)|Returns variance of the absolute of the first order difference of X|
30|calculate_weighted_moving_average(X)|Returns the weighted moving average of X|*
31|calculate_covariance||~|
<br>
<br>
## Statistical Features - NEW!!
|Number| Feature | Reference |
| -------- | ------- | ------- |
1.|calculate_mean_to_variance|
<br>
<br>
## Time-Frequency Features
|Number| Feature | Reference |
| -------- | ------- | ------- |
1|extract_wavelet_features(params)|||
2|extract_spectrogram_features(params)||
3|extract_stft_features(params)||
4|teager_kaiser_energy_operator(X)|
<br>
<br>
## Spectral Features
|Number| Feature | Reference |
| -------- | ------- | ------- |
1|calculate_spectral_subdominant_valley|*
2||
<br>
# NOT in tsfresh
<br>
## Spectral Features
1. Median frequency
2. Spectral bandwidth
3. Spectral absolute deviation
4. Spectral slope linear
5. Spectral slope logarithmic
6. Spectral flatness
7. Peak frequencies
8. Spectral edge frequency
9. Band power
10. Spectral entropy
11. Spectral contrast
12. Spectral coefficient variation
13. Spectral flux
14. Spectral rolloff
15. Harmonic ratio
16. Fundamental frequency
17. Spectral crest factor
18. Spectral decrease
19. Spectral irregularity
20. Mean frequency
21. Frequency winsorized mean
22. Total harmonic distortion
23. Inharmonicity
23. Tristimulus
24. Spectral rollon
25. Spectral hole count
26. Spectral autocorrelation
27. Spectral variability
28. Spectral spread ratio
29. Spectral skewness ratio
30. Spectral kurtosis ratio
31. Spectral tonal power ratio
32. Spectral noise to harmonics ratio
33. Spectral even to odd harmonic energy ratio
34. Spectral strongest frequency phase
35. Spectral frequency below peak
36. Spectral frequency above peak
37. Spectral cumulative frequency
38. Spectral cumulative frequency
39. Spectral cumulative frequency above
40. Spectral spread shift
41. Spectral entropy shift
42. Spectral change vector magnitude
43. Spectral low frequency content
44. Spectral mid frequency content
45. Spectral peak-to-valley ratio
46. Spectral valley depth mean
47. Spectral valley depth std
48. Spectral valley depth variance
49. Spectral valley width mode
50. Spectral valley width standard deviation
51. Spectral subdominant valley
52. Spectral valley count
53. Spectral peak broadness
54. Spectral valley broadness
55. Frequency variance
56. Frequency standard deviation
57. Frequency Range
58. Frequency Trimmed mean
59. Harmonic product spectrum
60. Smoothness
61. Roughness
<br>
# Time-Frequency Features
Statistical features from wavelets, spectrogram and short-time fourier transform
# Statistical Features
62. Hurst exponent from detrended fluctuation analysis
62. Winsorized mean
63. Weighted moving average
64. Sum of positive values
65. Sum of negative values
66. Stochastic oscillator value
67. Smoothing by binomial filter
68. Signal-to-noise ratio
69. Signal resultant
70. Second order difference
71. Ratio value number to sequence length
72. Ratio beyond r signal
73. Petrosian fractal dimension
74. Percentage of positive values
75. Percentage of negative values
76. Pearson correlation coefficient
77. Peak-to-peak distance
78. Number of inflection points
79. Moving average
80. Mode
81. Median second derivative central
82. Mean relative change
83. Mean crossings
84. Lower complete moment
85. Log return
86. Katz fractal dimension
88. Histogram bin frequencies
89. Fisher information
90. First quartile
91. First order difference
92. Exponential moving average
93. Energy ratio by chunks
94. Differential entropy
95. Cumulative sum
96. Covariance
97. Count
98. Area under curve
99. Area under squared curve
100. Renyi entropy
101. Tsallis entropy
102. Root mean squared to mean absolute
103. Cardinality
104. Hjorth mobility and complexity
105. Singular value decomposition (SVD) entropy
106. Higuchi fractal dimensions
107. Slope sign change
108. Average amplitude change
109. Signal magnitude area*
110. Median absolute deviation
111. Coefficient of variation
112. Higher order moments
113. Mean auto correlation
114. Impulse factor
115. Shape factor
116. Clearance factor
117. Crest factor
118. Zero crossings
119. Entropy
120. Log energy
121. Mean absolute deviation
122. Interquartile range
123. Variance absolute
124. Maximum absolute
125. Minimum absolute
125. Range absolute
126. Range
127. Median absolute
128. Kurtosis absolute
129. Skewness absolute
130. Standard deviation absolute
131. Trimmed mean absolute
132. Trimmed mean
133. Harmonic Mean
134. Harmonic mean absolute
135. Geometric mean
136. Geometric mean absolute
137. Mean absolute
<br>
# Added features
|Number| Feature | Description |
| -------- | ------- | ------- |
1| Augmented dickey fuller test| Perform the Augmented Dickey-Fuller (ADF) test to check for stationarity in a given time series signal.|
2| Hurst exponent| Calculate the Hurst Exponent of a given time series using Detrended Fluctuation Analysis (DFA).|
<br>
### Deleted features
Number| Feature | Reason |
| -------- | ------- | ------- |
1|calculate_roll_mean | Same implementation as *calculate_moving_average*
2|calculate_absolute_energy | Same implementation as signal energy
3|calculate_cumulative_energy | Produces same result as the absolute energy and signal energy. These three will always be the same for a given signal.
4|calculate_intercept_of_linear_fit| This feature is returned again in the calculate_linear_trend_with_full_linear_regression_results function
5|calculate_pearson_correlation_coefficient| Since this function calculates the Pearson correlation coefficient between the signal and its one-step lagged version, it is fundamentally calculating the autocorrelation of the signal. The autocorrelation is already present(calculate_mean_auto_correlation). Having both is redundant.
6|calculate_slope_of_linear_fit| This is already calculated in calculate_linear_trend_with_full_linear_regression_results
7|calculate_frequency_std| Same implementation as calculate_spectral_bandwidth with order set to 2
8|calculate_frequency_variance| Same implementation as calculate_spectral_variance
9|calculate_mean_frequency(freqs, magnitudes) | Same as calculate_spectral_centroid with order set to 1
10|calculate_first_quartile | calculate_percentile(signal, percentiles=[25, 50, 75]) returns the first, second, and third quartiles|
11|calculate_third_quartile | calculate_percentile(signal, percentiles=[25, 50, 75]) returns the first, second, and third quartiles |
14| calculate_spectral_entropy_shift|Same implementation as calculate_spectral_entropy but with spectrum_magnitudes as argument and not psd|
13| calculate_spectral_spread_shift| Same spectral standard deviation
14| calculate_spectral_autocorrelatiion| Autocorrelation of magnitudes is backed by literature
## Features that should be deleted
Number| Feature | Type | Reason|
| -------- | ------- | ------- | ------- |
1| calculate_histogram_bins| statistical
2| calculate_signal_magnitude_area|statistical
3| calculate_spectral_hole_count| spectral | Spectral holes are typically of use in radio signals. Although the aim is to make this a very comprehensive toolbox, this feature is a little bit out of scope.
## Features in Tsfresh but not in SCAI toolbox
Number| Feature | Description|Added yet?|
| -------- | ------- | ------- | -------|
1|absolute sum of changes||✔️|
2|ar_coefficient(x, param)| This feature calculator fits the unconditional maximum likelihood of an autoregressive AR(k) process|
3|benford correlation||✔️|
4|c3| uses c3 statistics to measure non-linearity in the time series
5|count_above(x, t)|Returns the percentage of values in x that are higher than t |✔️|
6|count_below(x, t)| Returns the percentage of values in x that are lower than t|✔️|
7|cid_ce(x, normalize) |This function calculator is an estimate for a time series complexity [1] (A more complex time series has more peaks, valleys etc.).|✔️|
8|friedrich_coefficients(x, param)|Coefficients of polynomial h(x), which has been fitted to the deterministic dynamics of Langevin model
9|has_duplicate(x)|Checks if any value in x occurs more than once| ✔️|
10|has_duplicate_max(x)|Checks if the maximum value of x is observed more than once| ✔️|
11|has_duplicate_min(x)|Checks if the minimal value of x is observed more than once| ✔️|
12|index_mass_quantile(x, param)|Calculates the relative index i of time series x where q% of the mass of x lies left of i.
13|mean_n_absolute_max(x, number_of_maxima)| Calculates the arithmetic mean of the n absolute maximum values of the time series.
14|large_standard_deviation(x, r)|Does time series have large standard deviation| ✔️ |
15|lempel_ziv_complexity(x, bins)|Calculate a complexity estimate based on the Lempel-Ziv compression algorithm.|✔️|
16|matrix_profile(x, param)|Calculates the 1-D Matrix Profile[1] and returns Tukey's Five Number Set plus the mean of that Matrix Profile.
17|max_langevin_fixed_point(x, r, m)|Largest fixed point of dynamics :math:argmax_x {h(x)=0}` estimated from polynomial h(x), which has been fitted to the deterministic dynamics of Langevin model
18|binned entropy |
19| symmetry looking|Boolean variable denoting if the distribution of x looks symmetric.
20|change_quantiles|First fixes a corridor given by the quantiles ql and qh of the distribution of x.|
21|fft_coefficient| Calculates the fourier coefficients of the one-dimensional discrete Fourier Transform for real input by fast fourier transformation algorithm
22|matrix_profile|Calculates the 1-D Matrix Profile[1] and returns Tukey's Five Number Set plus the mean of that Matrix Profile.
23|mean_n_absolute_max|Calculates the arithmetic mean of the n absolute maximum values of the time series.
24|number_crossing_m|Calculates the number of crossings of x on m.
25|number_cwt_peaks|Number of different peaks in x.
26|number_peaks|Calculates the number of peaks of at least support n in the time series x.
27|partial_autocorrelation|Calculates the value of the partial autocorrelation function at the given lag.
28|query_similarity_count|This feature calculator accepts an input query subsequence parameter, compares the query (under z-normalized Euclidean distance) to all subsequences within the time series, and returns a count of the number of times the query was found in the time series (within some predefined maximum distance threshold).
29|ratio_value_number_to_time_series_length|Returns a factor which is 1 if all values in the time series occur only once, and below one if this is not the case.
30|value_count|Count occurrences of value in time series x. | ✔️
31|variance_larger_than_standard_deviation|Is variance higher than the standard deviation?|✔️
## Observations
1. **calculate_higher_order_moments** does not always produce the same result as mean, variance, skew and kurtosis when moment order is set to [1,2,3,4]
2. **calculate_rms_to_mean_abs** has no direct reference yet
3. **calculate_exponential_moving_average** returns the last value in the array. Is there a reason?
4.
<br>
Corrections
1. calculate_katz_fractal_dimensions
2. calculate_sum_of_reoccurring_values
3. calculate_sum_of_reoccurring_data_points
4. calculate_petrosian_fractal_dimension
5. calculate_sample_entropy
6. calculate_approximate_entropy
Raw data
{
"_id": null,
"home_page": null,
"name": "tifex-py",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": "TODO <TODO@gmail.com>",
"keywords": "feature, extraction",
"author": null,
"author_email": "Mehdi Ejtehadi <TODO@gmail.com>, Gloria Edumaba Graham <edumabagrahamp@gmail.com>, Cailin Ringstrom <cringstrom@ethz.ch>",
"download_url": "https://files.pythonhosted.org/packages/8c/aa/9b34363a8fec439e36b8b164596a8cb86c0d57bbcd27354b7362a6b53f3f/tifex_py-0.1.1.tar.gz",
"platform": null,
"description": "# proj-adl-classification\n\n## statistical_feature.py\nUsing GPU to compute statistical features based on PyTorch. \n\nAlso compare the results with the features computed by CPU (Numpy). \n\nThe return is a pd dataframe with columns: 'feature name', 'feature value gpu', 'feature value cpu', and 'time consumption'. \n\n#### X - Time series\n\"*\": No reference\n<br>\n\"* **\": More than one reference and one is questionable\n<br>\n\"~\": Further research required on feature\n<br>\n\n## Statistical Features\n\n\n|Number| Feature | Description | Info |\n| -------- | ------- | ------- | ------- |\n1| calculate_harmonic_mean_abs(X)| Calculates the harmonic mean of the absolute values of X| * |\n2|calculate_trimmed_mean_abs(X)| Calculates the trimmed mean of absolute values of X| * |\n3|calculate_std_abs(X) | Calculates the standard deviation of the absolute values of X | * |\n4|calculate_skewness_abs(X)| Calculate skewness of absolute values of X|*|\n5|calculate_kurtosis_abs(X)|Calculates the kurtosis of the absolute values of X| * |\n6|calculate_median_abs|Calculates the median of the absolute values of X|*|\n7|calculate_min_abs(X)|Calculates the minimum value of the absolute values of X| *|\n8|calculate_range_abs(X)|Calculates the range of the absolute values of X|*|\n9|calculate_variance_abs(X)|Calculates the variance of the absolute values of X|*|\n10|calculate_mean_absolute_deviation(X)|Calculates the mean of the absolute deviation of X | ~|\n11|calculate_signal_magnitude_area(X)|Calculates the magnitude area of X. The sum of the absolute values of X| ~|\n12|calculate_cardinality(X)|~|\n13|calculate_rms_to_mean_abs(X)|Computes the ratio of the RMS value to mean absolute value of X|*|\n14|calculate_area_under_squared_curve(X)|Computed the area under the curve of X squared|*|\n15|calculate_exponential_moving_average(X, param)|Calculates the exponential moving average of X|*|\n16|calculate_fisher_information(X)|Computes the Fisher information of X|~|\n17|calculate_local_maxima_and_minima(X)|Calculates the local maxima and minima of X|*|\n18|calculate_log_return(X)|Returns the logarithm of the ratio between the last and first values of which is a measure of the percentage change in X|~|\n19|calculate_lower_complete_moment(X)||*|\n20|calculate_mean_second_derivative_central(X)|Returns the mean of the second derivative of X|\n21|calculate_median_second_derivative_central(X)|Calculates the median of the second derivative of X|*|\n23|calculate_ratio_of_fluctuations(X)|Computes the ratio of positive and negative fluctuations in X|*|\n24|calculate_ratio_value_number_to_sequence_length(X)|Returns the ratio of length of a set of X to the length X|*|\n25|calculate_second_order_difference(X)|Returns the second differential of X|**|\n26|calculate_signal_resultant(X)||*|\n27|calculate_sum_of_negative_values(X)|Calculates the sum of negative values in X|*|\n28|calculate_sum_of_positive_values(X)|Returns the sum of positive values in X|*|\n29|calculate_variance_of_absolute_differences(X)|Returns variance of the absolute of the first order difference of X|\n30|calculate_weighted_moving_average(X)|Returns the weighted moving average of X|*\n31|calculate_covariance||~|\n\n\n<br>\n<br>\n\n## Statistical Features - NEW!!\n|Number| Feature | Reference |\n| -------- | ------- | ------- |\n1.|calculate_mean_to_variance| \n<br>\n<br>\n\n## Time-Frequency Features\n|Number| Feature | Reference |\n| -------- | ------- | ------- |\n1|extract_wavelet_features(params)|||\n2|extract_spectrogram_features(params)||\n3|extract_stft_features(params)||\n4|teager_kaiser_energy_operator(X)|\n\n<br>\n<br>\n\n## Spectral Features\n|Number| Feature | Reference |\n| -------- | ------- | ------- |\n1|calculate_spectral_subdominant_valley|*\n2||\n\n\n\n<br>\n\n\n# NOT in tsfresh\n<br>\n\n## Spectral Features\n1. Median frequency\n2. Spectral bandwidth\n3. Spectral absolute deviation\n4. Spectral slope linear\n5. Spectral slope logarithmic\n6. Spectral flatness\n7. Peak frequencies\n8. Spectral edge frequency\n9. Band power\n10. Spectral entropy\n11. Spectral contrast\n12. Spectral coefficient variation\n13. Spectral flux\n14. Spectral rolloff\n15. Harmonic ratio\n16. Fundamental frequency\n17. Spectral crest factor\n18. Spectral decrease\n19. Spectral irregularity\n20. Mean frequency\n21. Frequency winsorized mean\n22. Total harmonic distortion\n23. Inharmonicity\n\n\n23. Tristimulus\n24. Spectral rollon\n25. Spectral hole count\n26. Spectral autocorrelation\n27. Spectral variability\n28. Spectral spread ratio\n29. Spectral skewness ratio\n30. Spectral kurtosis ratio\n31. Spectral tonal power ratio\n32. Spectral noise to harmonics ratio\n33. Spectral even to odd harmonic energy ratio\n34. Spectral strongest frequency phase\n35. Spectral frequency below peak\n36. Spectral frequency above peak\n37. Spectral cumulative frequency\n38. Spectral cumulative frequency\n39. Spectral cumulative frequency above\n40. Spectral spread shift\n41. Spectral entropy shift\n42. Spectral change vector magnitude\n43. Spectral low frequency content\n44. Spectral mid frequency content\n45. Spectral peak-to-valley ratio\n46. Spectral valley depth mean\n47. Spectral valley depth std\n48. Spectral valley depth variance\n49. Spectral valley width mode\n50. Spectral valley width standard deviation\n51. Spectral subdominant valley\n52. Spectral valley count\n53. Spectral peak broadness\n54. Spectral valley broadness\n55. Frequency variance\n56. Frequency standard deviation\n57. Frequency Range\n58. Frequency Trimmed mean\n59. Harmonic product spectrum\n60. Smoothness\n61. Roughness\n\n<br>\n\n# Time-Frequency Features\nStatistical features from wavelets, spectrogram and short-time fourier transform\n\n\n# Statistical Features\n62. Hurst exponent from detrended fluctuation analysis\n62. Winsorized mean\n63. Weighted moving average\n64. Sum of positive values\n65. Sum of negative values\n66. Stochastic oscillator value\n67. Smoothing by binomial filter\n68. Signal-to-noise ratio\n69. Signal resultant\n70. Second order difference\n71. Ratio value number to sequence length \n72. Ratio beyond r signal\n73. Petrosian fractal dimension\n74. Percentage of positive values\n75. Percentage of negative values\n76. Pearson correlation coefficient\n77. Peak-to-peak distance\n78. Number of inflection points\n79. Moving average\n80. Mode\n81. Median second derivative central\n82. Mean relative change\n83. Mean crossings\n84. Lower complete moment\n85. Log return \n86. Katz fractal dimension\n88. Histogram bin frequencies\n89. Fisher information\n90. First quartile\n91. First order difference\n92. Exponential moving average\n93. Energy ratio by chunks\n94. Differential entropy\n95. Cumulative sum\n96. Covariance\n97. Count\n98. Area under curve\n99. Area under squared curve\n100. Renyi entropy\n101. Tsallis entropy\n102. Root mean squared to mean absolute\n103. Cardinality\n104. Hjorth mobility and complexity\n105. Singular value decomposition (SVD) entropy\n106. Higuchi fractal dimensions\n107. Slope sign change\n108. Average amplitude change\n109. Signal magnitude area*\n110. Median absolute deviation\n111. Coefficient of variation\n112. Higher order moments\n113. Mean auto correlation\n114. Impulse factor\n115. Shape factor\n116. Clearance factor\n117. Crest factor\n118. Zero crossings\n119. Entropy\n120. Log energy\n121. Mean absolute deviation\n122. Interquartile range\n123. Variance absolute\n124. Maximum absolute\n125. Minimum absolute\n125. Range absolute\n126. Range\n127. Median absolute\n128. Kurtosis absolute\n129. Skewness absolute\n130. Standard deviation absolute\n131. Trimmed mean absolute\n132. Trimmed mean\n133. Harmonic Mean\n134. Harmonic mean absolute\n135. Geometric mean \n136. Geometric mean absolute\n137. Mean absolute\n\n\n<br>\n\n# Added features\n|Number| Feature | Description |\n| -------- | ------- | ------- |\n1| Augmented dickey fuller test| Perform the Augmented Dickey-Fuller (ADF) test to check for stationarity in a given time series signal.|\n2| Hurst exponent| Calculate the Hurst Exponent of a given time series using Detrended Fluctuation Analysis (DFA).|\n\n<br>\n\n### Deleted features\nNumber| Feature | Reason |\n| -------- | ------- | ------- |\n1|calculate_roll_mean | Same implementation as *calculate_moving_average*\n2|calculate_absolute_energy | Same implementation as signal energy\n3|calculate_cumulative_energy | Produces same result as the absolute energy and signal energy. These three will always be the same for a given signal.\n4|calculate_intercept_of_linear_fit| This feature is returned again in the calculate_linear_trend_with_full_linear_regression_results function \n5|calculate_pearson_correlation_coefficient| Since this function calculates the Pearson correlation coefficient between the signal and its one-step lagged version, it is fundamentally calculating the autocorrelation of the signal. The autocorrelation is already present(calculate_mean_auto_correlation). Having both is redundant. \n6|calculate_slope_of_linear_fit| This is already calculated in calculate_linear_trend_with_full_linear_regression_results\n7|calculate_frequency_std| Same implementation as calculate_spectral_bandwidth with order set to 2\n8|calculate_frequency_variance| Same implementation as calculate_spectral_variance\n9|calculate_mean_frequency(freqs, magnitudes) | Same as calculate_spectral_centroid with order set to 1\n10|calculate_first_quartile | calculate_percentile(signal, percentiles=[25, 50, 75]) returns the first, second, and third quartiles|\n11|calculate_third_quartile | calculate_percentile(signal, percentiles=[25, 50, 75]) returns the first, second, and third quartiles |\n14| calculate_spectral_entropy_shift|Same implementation as calculate_spectral_entropy but with spectrum_magnitudes as argument and not psd|\n13| calculate_spectral_spread_shift| Same spectral standard deviation\n14| calculate_spectral_autocorrelatiion| Autocorrelation of magnitudes is backed by literature\n\n\n## Features that should be deleted\nNumber| Feature | Type | Reason|\n| -------- | ------- | ------- | ------- |\n1| calculate_histogram_bins| statistical\n2| calculate_signal_magnitude_area|statistical\n3| calculate_spectral_hole_count| spectral | Spectral holes are typically of use in radio signals. Although the aim is to make this a very comprehensive toolbox, this feature is a little bit out of scope.\n\n\n## Features in Tsfresh but not in SCAI toolbox\nNumber| Feature | Description|Added yet?|\n| -------- | ------- | ------- | -------|\n1|absolute sum of changes||\u2714\ufe0f|\n2|ar_coefficient(x, param)| This feature calculator fits the unconditional maximum likelihood of an autoregressive AR(k) process|\n3|benford correlation||\u2714\ufe0f|\n4|c3| uses c3 statistics to measure non-linearity in the time series\n5|count_above(x, t)|Returns the percentage of values in x that are higher than t |\u2714\ufe0f|\n6|count_below(x, t)| Returns the percentage of values in x that are lower than t|\u2714\ufe0f|\n7|cid_ce(x, normalize) |This function calculator is an estimate for a time series complexity [1] (A more complex time series has more peaks, valleys etc.).|\u2714\ufe0f|\n8|friedrich_coefficients(x, param)|Coefficients of polynomial h(x), which has been fitted to the deterministic dynamics of Langevin model\n9|has_duplicate(x)|Checks if any value in x occurs more than once| \u2714\ufe0f|\n10|has_duplicate_max(x)|Checks if the maximum value of x is observed more than once| \u2714\ufe0f|\n11|has_duplicate_min(x)|Checks if the minimal value of x is observed more than once| \u2714\ufe0f|\n12|index_mass_quantile(x, param)|Calculates the relative index i of time series x where q% of the mass of x lies left of i.\n13|mean_n_absolute_max(x, number_of_maxima)| Calculates the arithmetic mean of the n absolute maximum values of the time series.\n14|large_standard_deviation(x, r)|Does time series have large standard deviation| \u2714\ufe0f |\n15|lempel_ziv_complexity(x, bins)|Calculate a complexity estimate based on the Lempel-Ziv compression algorithm.|\u2714\ufe0f|\n16|matrix_profile(x, param)|Calculates the 1-D Matrix Profile[1] and returns Tukey's Five Number Set plus the mean of that Matrix Profile.\n17|max_langevin_fixed_point(x, r, m)|Largest fixed point of dynamics :math:argmax_x {h(x)=0}` estimated from polynomial h(x), which has been fitted to the deterministic dynamics of Langevin model\n18|binned entropy |\n19| symmetry looking|Boolean variable denoting if the distribution of x looks symmetric.\n20|change_quantiles|First fixes a corridor given by the quantiles ql and qh of the distribution of x.|\n21|fft_coefficient| Calculates the fourier coefficients of the one-dimensional discrete Fourier Transform for real input by fast fourier transformation algorithm\n22|matrix_profile|Calculates the 1-D Matrix Profile[1] and returns Tukey's Five Number Set plus the mean of that Matrix Profile.\n23|mean_n_absolute_max|Calculates the arithmetic mean of the n absolute maximum values of the time series.\n24|number_crossing_m|Calculates the number of crossings of x on m.\n25|number_cwt_peaks|Number of different peaks in x.\n26|number_peaks|Calculates the number of peaks of at least support n in the time series x.\n27|partial_autocorrelation|Calculates the value of the partial autocorrelation function at the given lag.\n28|query_similarity_count|This feature calculator accepts an input query subsequence parameter, compares the query (under z-normalized Euclidean distance) to all subsequences within the time series, and returns a count of the number of times the query was found in the time series (within some predefined maximum distance threshold).\n29|ratio_value_number_to_time_series_length|Returns a factor which is 1 if all values in the time series occur only once, and below one if this is not the case.\n30|value_count|Count occurrences of value in time series x. | \u2714\ufe0f\n31|variance_larger_than_standard_deviation|Is variance higher than the standard deviation?|\u2714\ufe0f\n\n\n\n## Observations\n1. **calculate_higher_order_moments** does not always produce the same result as mean, variance, skew and kurtosis when moment order is set to [1,2,3,4]\n2. **calculate_rms_to_mean_abs** has no direct reference yet\n3. **calculate_exponential_moving_average** returns the last value in the array. Is there a reason?\n4. \n\n<br>\n\nCorrections\n\n1. calculate_katz_fractal_dimensions\n2. calculate_sum_of_reoccurring_values\n3. calculate_sum_of_reoccurring_data_points\n4. calculate_petrosian_fractal_dimension\n5. calculate_sample_entropy\n6. calculate_approximate_entropy\n\n\n\n\n\n\n\n\n\n\n\n\n",
"bugtrack_url": null,
"license": "MIT LICENCE Copyright (c) 2016 Maximilian Christ, Blue Yonder GmbH Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
"summary": "TODO",
"version": "0.1.1",
"project_urls": {
"Repository": "https://github.com/SCAI-Lab/proj-adl-classification/tree/main"
},
"split_keywords": [
"feature",
" extraction"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d1def036a63ab5060b55d09679b826313d0c7dcea9514f6c48a93353df979eb4",
"md5": "4330cf96dae57d067eb07a753b288563",
"sha256": "1a126c914074aaeff2250bf675bae93377984b40ab41195c5ec1b8f72e91436e"
},
"downloads": -1,
"filename": "tifex_py-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4330cf96dae57d067eb07a753b288563",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 61831,
"upload_time": "2024-12-08T11:55:49",
"upload_time_iso_8601": "2024-12-08T11:55:49.924040Z",
"url": "https://files.pythonhosted.org/packages/d1/de/f036a63ab5060b55d09679b826313d0c7dcea9514f6c48a93353df979eb4/tifex_py-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8caa9b34363a8fec439e36b8b164596a8cb86c0d57bbcd27354b7362a6b53f3f",
"md5": "71301c170fe1d967351da89e348542c9",
"sha256": "554cd2d7f2fbddb7f183989af121b74c1159c9effb67e3b85f5ce55e5a06762d"
},
"downloads": -1,
"filename": "tifex_py-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "71301c170fe1d967351da89e348542c9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 63928,
"upload_time": "2024-12-08T11:55:52",
"upload_time_iso_8601": "2024-12-08T11:55:52.092348Z",
"url": "https://files.pythonhosted.org/packages/8c/aa/9b34363a8fec439e36b8b164596a8cb86c0d57bbcd27354b7362a6b53f3f/tifex_py-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-08 11:55:52",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "SCAI-Lab",
"github_project": "proj-adl-classification",
"github_not_found": true,
"lcname": "tifex-py"
}