Shapley Value Functions Example 2: nPath Creates ShapleyGenerateCombination Input - 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ā„¢

This example shows how to calculate Shapley Values using nPath to create the input to the ShapleyGenerateCombination function in the Shapley Value feature, using these steps:

  1. Use nPath to create conversion counts.
  2. Use nPath to create total counts.
  3. Compute the Shapley value for each player (CVS).
  4. Compute the augmented characteristic value table (ACVS).
  5. Compute the unnormalized Shapley values from the CVS and ACVS.