RandomWalkSample Syntax - 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ā„¢

Version 1.7

SELECT * FROM RandomWalkSample (
  ON { table | view | (query) } AS Vertices PARTITION BY vertex_key_column [,...] 
  ON { table | view | (query) } AS Edges PARTITION BY source_vertex_key_column [,...]
  OUT TABLE VertexOutputTable (vertex_table)
  OUT TABLE EdgeOutputTable (edge_table)
  USING 
  TargetKey ({ 'target_vertex_column' | target_vertex_column_range }[,...])
  [ SampleRate (sample_rate) ]
  [ FlyBackRate (fly_back_rate) ]
  [ Seed (seed) ]
  [ Accumulate ({ 'accumulate_column' | accumulate_column_range }[,...]) ]
) AS alias;