ShapeletUnsupervised Input - Teradata Vantage

Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
8.10
1.1
Published
October 2019
Language
English (United States)
Last Update
2019-12-31
dita:mapPath
ima1540829771750.ditamap
dita:ditavalPath
jsj1481748799576.ditaval
dita:id
B700-4003
lifecycle
previous
Product Category
Teradata Vantageā„¢

InputTable Schema

Column Data Type Description
id_column Any except DATE, TIME, or TIMESTAMP Time series identifier.
time_column BYTEINT, SMALLINT, INTEGER, BIGINT, NUMERIC, DOUBLE PRECISION, DATE, TIME, or TIMESTAMP Time axis of data. Used for saxification. Corresponds to SAX InputTable time_column.
target_column BYTEINT, SMALLINT, INTEGER, BIGINT, NUMERIC, or DOUBLE PRECISION Time series data to cluster. Used for saxification. Corresponds to SAX InputTable target_column.

Correct Input Time Series Data Format

If input time series data is incorrectly formatted, function behavior is undefined. In a correctly formatted time series, time intervals are evenly spaced and all time intervals have numeric values.

To calculate missing values in a time series, use the Interpolator (ML Engine) function.

If the InputTable time column is text-based, create a new InputTable with an integer-based time column. For example, suppose that the table time_series_text_time has the text-based columns idval, timeval, valueval, and catval. This statement creates a table that the function accepts as input:

CREATE MULTISET TABLE time_series_numeric_time AS (
  SELECT
    idval,
    RANK() OVER (PARTITION BY idval ORDER BY timeval) AS timeval,
    valueval,
    catval
    FROM time_series_text_time
  ) WITH DATA;