Unweighted, Directed Network (BDN) - Teradata Vantage

Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
9.02
9.01
2.0
1.3
Published
February 2022
Language
English (United States)
Last Update
2022-02-10
dita:mapPath
rnn1580259159235.ditamap
dita:ditavalPath
ybt1582220416951.ditaval
dita:id
B700-4003
lifecycle
previous
Product Category
Teradata Vantage™

For an unweighted, directed network (BDN), given a vertex i, the BDN triangle types can be categorized to four patterns.

Triangle Type Patterns
Pattern Description Illustration
Cycle There is a cyclical relation among i and any two of its neighbors: ijhi, or the reverse.

Cycle between i, j, and h, and the reverse
Middleman One of i’s neighbors, j, both holds an outward edge to a third neighbor, h, and uses i to reach h in two steps.

j is the middleman between i and h.
In i holds two inward edges. i holds two inward edges.
Out i holds two outward edges.

i holds two outward edges.

For each pattern, this is the formula for the clustering coefficient (CC):

ci* = δi* / τi*

where {*}={cycle, middleman, in, out}.

These are the triples for each pattern:

τicyc = diin diout - di

where di is the number of bilateral edges between i and its neighbors.

τimid = diindiout - di

τiin = diin(diin - 1)

τiout = diout(diout - 1)