Summarizes time series data into aggregate metrics.
Examples
ds.first_name
), datasets (ds
or ds[["first_name", "last_name"]]
) or models (referenced
by name e.g. "churn-clf"
).
Inputs
Outputs
step(..., {"param": "value", ...}) -> (output)
.
Parameters
features
pararmeter,
all features from the selected set will be computed. If multiple sets are selected, all features from
each set will be computed. If all
is selected, all features from all sets will be computed.Values must be one of the following:catch22
tsfeatures
growth
all
Array items
catch22
tsfeatures
growth
all
Properties
Array items
mode_5
mode_10
acf_timescale
acf_first_min
ami2
trev
high_fluctuation
stretch_high
transition_matrix
periodicity
embedding_dist
ami_timescale
whiten_timescale
outlier_timing_pos
outlier_timing_neg
centroid_freq
stretch_decreasing
entropy_pairs
rs_range
dfa
low_freq_power
forecast_error
mean
SD
Array items
acf_features
arch_stat
crossing_points
entropy
flat_spots
heterogeneity
holt_parameters
lumpiness
nonlinearity
pacf_features
stl_features
stability
hw_parameters
unitroot_kpss
unitroot_pp
series_length
hurst
"simple"
Factional change between first and last value. Maintains direction of growth by dividing the change
by the absolute value of the initial value:"average"
The average fraction of change between consecutive values. Also maintains direction,
unlike e.g. pandas pct_change function:"compound"
Analogous to CAGR (Compound Annual Growth Rate).
The average growth rate over the entire period, assuming the growth is compounded:"linear"
Fits a linear regression to the time series and returns the slope of the line.Array items
simple
average
compound
linear
Examples
null
, attempts to
infer the frequency automatically.Also see this post by the author of
the original tsfeatures
package for more details on seasonality and the frequency parameter.Y
M
W
D
h
m
s
ms
us
ns
wide
tall