1.1 - 8.10 - Modularity Examples Input - Teradata Vantage

Teradata Vantage™ - Machine Learning Engine Analytic Function Reference

Teradata Vantage
Release Number
October 2019
Content Type
Programming Reference
Publication ID
English (United States)

The examples use a graph in which nodes represent persons who are geographically distributed across the United States and are connected on an online social network, where they follow each other. The directed edges start at the follower and end at the leader. For example, Alex follows Bob and Casey.

Graph of Social Network
Graph of input for examples of Machine Learning Engine function Modularity

The graph in the figure is represented by the Vertices and Edges tables friends and followers_leaders, respectively. The Edges table column intensity represents the fervor with which the follower follows the leader, on a scale from 1 (lowest) to 10 (highest).

Vertices: friends
friends_name location group_id
Alex SanFrancisco SanFrancisco
Bob LosAngeles LosAngeles
Casey LosAngeles LosAngeles
Danny NewYorkCity NewYorkCity
Eve Birmingham Birmingham
Fox Austin Austin
Gohar Miami Miami
Harry Chicago Chicago
Edges: followers_leaders
follower leader intensity
Alex Bob 5
Alex Casey 6
Casey Bob 1
Eve Danny 9
Fox Danny 7
Fox Eve 8
Gohar Casey 10
Harry Gohar 4
Harry Danny 3