EigenVectorCentrality Example 2: Katz Centrality - Teradata Vantage

Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
8.00
1.0
Published
May 2019
Language
English (United States)
Last Update
2019-11-22
dita:mapPath
blj1506016597986.ditamap
dita:ditavalPath
blj1506016597986.ditaval
dita:id
B700-4003
lifecycle
previous
Product Category
Teradata Vantage™

Input

Both 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','name')
  Family ('katz')
  EdgeWeight ('electives')
) AS dt ORDER BY centrality DESC;

Output

id name centrality
C Cathy 0.632103166675334
D Darren 0.50712609393646
A Allen 0.441313029999005
B Becky 0.385371925652169