module timeseries.patterns
#
Short summary#
module mlinsights.timeseries.patterns
Find patterns in timeseries.
Functions#
function |
truncated documentation |
---|---|
Clusters times series to find similar patterns. |
Documentation#
Find patterns in timeseries.
- mlinsights.timeseries.patterns.find_ts_group_pattern(ttime, values, names, name_subset=None, per='week', unit='half-hour', agg='sum', estimator=None, fLOG=None)#
Clusters times series to find similar patterns.
- Parameters:
ttime – time column
values – features to use to cluster
names – column which holds group name
name_subset – subset of groups to study, None for all
per – aggragation per week
estimator – estimator used to find pattern, sklearn.cluster.KMeans and 10 groups
fLOG – logging function
- Returns:
found clusters, distances