Library design¶
The tspy library is structured in these main modules
tspy
: the highest level moduleThe rest-data is provided by functions directly under tspy, e.g.
time_series()
. The in-motion data is provided by functions inside the module under tspy, e.g.tspy.stream_time_series.queue()
.
function |
description |
create one observation |
|
create one observation collection |
|
create one record |
|
create one time-series |
|
create one multi-time-series |
|
create a time-series builder |
tspy.functions
subpackage provides APIs for performing different time-series related operations, e.g. reduce, transforms, segment.tspy.ml
: provides Machine-Learning related APIs (e.g. clustering-related APIs, data-processing related APIs, itemset-mining related APIs, sequence-mining related APIs) that can operate on tspy’s time-series datatspy.forecasters
: provides APIs for building forecasting model (e.g. AnomalyDetection) that can operate on tspy’s time-series data