Burst Example 3: TimeTable, SplitCriteria ('gaussian') - Teradata Vantage

Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
8.00
1.0
Published
May 2019
Language
English (United States)
Last Update
2019-11-22
dita:mapPath
blj1506016597986.ditamap
dita:ditavalPath
blj1506016597986.ditaval
dita:id
B700-4003
lifecycle
previous
Product Category
Teradata Vantageā„¢

Input

SQL Call

SELECT * FROM Burst (
  ON burst_example AS input_table PARTITION BY id ORDER BY id
  USING
  TimeColumn ('start_time_column', 'end_time_column')
  TimeInterval (86400)
  TargetColumns ('num_custs')
  StartTime ('08/01/2010')
  EndTime ('08/10/2010')
  SplitCriteria ('gaussian')
  Accumulate ('id')
) AS dt ORDER BY id;

Output

The num_custs column values can vary, due to the random component of the calculation. For details, see the description of SplitCriteria in Burst Arguments.

id num_custs burst_start burst_end burst_duration
1 126 2010-08-01 2010-08-02 86400
1 144 2010-08-02 2010-08-03 86400
1 385 2010-08-03 2010-08-04 86400
1 96 2010-08-04 2010-08-05 86400
1 245 2010-08-05 2010-08-06 86400
1 211 2010-08-06 2010-08-07 86400
1 254 2010-08-07 2010-08-08 86400
1 171 2010-08-08 2010-08-09 86400
1 68 2010-08-09 2010-08-10 86400