Как определить количество лагов при автокорреляции и частичной автокорреляции? - PullRequest
0 голосов
/ 24 января 2020

Я пытаюсь использовать пакет tsfre sh в python для извлечения функции из входного сигнала датчика акселерометра, и я столкнулся с несколькими функциями, для которых требуется переменная задержка:

tsfresh.feature_extraction.feature_calculators.agg_autocorrelation(x, param)
Where:
                  x (numpy.ndarray) – the time series to calculate the feature of
                  param (list) – contains dictionaries {“f_agg”: x, “maxlag”, n} with x str, the name of a numpy function (e.g. “mean”, “var”, “std”, “median”), its the name of the aggregator function that is applied to the autocorrelations. Further, n is an int and the maximal number of lags to consider.
tsfresh.feature_extraction.feature_calculators.autocorrelation(x, lag)
Where:
                  x (numpy.ndarray) – the time series to calculate the feature of
                  lag (int) – the lag
tsfresh.feature_extraction.feature_calculators.c3(x, lag)
Where:
                  x (numpy.ndarray) – the time series to calculate the feature of
                  lag (int) – the lag
tsfresh.feature_extraction.feature_calculators.partial_autocorrelation(x, param)
Where:
                  x (numpy.ndarray) – the time series to calculate the feature of
                  param (list) – contains dictionaries {“lag”: val} with int val indicating the lag to be returned
tsfresh.feature_extraction.feature_calculators.time_reversal_asymmetry_statistic(x, lag)
Where:
                  x (numpy.ndarray) – the time series to calculate the feature of
                  lag (int) – the lag that should be used in the calculation of the feature

Итак, я хотел бы знать, как найти переменную задержки?

С уважением

...