1.0 - 8.00 - EigenVectorCentrality Example 3: Bonacich Centrality - 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)

Input

Input tables are from EigenVectorCentrality Example 1: Eigenvector Centrality (by Default):

  • vertices: sophomores
  • edges: common_classes

SQL Call

SELECT * FROM EigenVectorCentrality (
  ON sophomores AS vertices PARTITION BY id
  ON common_classes AS edges PARTITION BY startid
  USING
  TargetKey ('endid')
  Accumulate ('id')
  Family ('bonacich')
  Beta (0.01)
  EdgeWeight ('electives')
) AS dt ORDER BY centrality DESC;

Output

id centrality
C 0.632123195866825
D 0.529800961949689
A 0.445129026468483
B 0.348699520733132