1.0 - 8.00 - Modularity Input - Teradata Vantage

Teradata® Vantage Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
1.0
8.00
Release Date
May 2019
Content Type
Programming Reference
Publication ID
B700-4003-098K
Language
English (United States)
Table Description
vertices Each row represents a vertex of the graph.
edges Each row represents an edge of the graph.
sources [Optional] Specifies source vertices. Legacy table, formerly required for directed graph. Function ignores this table and treats all graphs as undirected.

vertices Schema

Column Data Type Description
vertex_key_column Any allowed in PARTITION BY clause [Column appears once for each specified vertex_key_column.] All or part of unique vertex key. Cannot be NULL.
accumulate_column Any [Column appears once for each specified accumulate_column.] Column to copy to community vertices table.

edges Schema

Column Data Type Description
source_vertex_key_column Any allowed in PARTITION BY clause Column appears once for each specified source_vertex_key_column.] All or part of key that identifies source vertex of edge. Must be a vertex_key_column in vertices table. Cannot be NULL.
target_key_column Same as source_vertex_key_column Column appears once for each specified target_key_column.] All or part of key that identifies target vertex of edge. Must be a vertex_key_column in vertices table. Can be NULL.
edge_weight SMALLINT, INTEGER, or NUMERIC [Required only for weighted graph.] Edge weight, a positive value. Can be NULL.

sources Schema

Column Data Type Description
source_vertex_key_column Same as corresponding vertex_key_column in vertices table Column appears once for each specified source_vertex_key_column.] All or part of key that identifies source vertex of edge. Must be a vertex_key_column in vertices table. Cannot be NULL.