7.00.02 - Compute Shapley Values - Aster Analytics

Teradata Aster® Analytics Foundation User GuideUpdate 2

Product
Aster Analytics
Release Number
7.00.02
Published
September 2017
Content Type
Programming Reference
User Guide
Publication ID
B700-1022-700K
Language
English (United States)
Last Update
2018-04-17
CREATE FACT TABLE atrbtn_cvs (PARTITION KEY(comb)) AS
SELECT * FROM GenerateCombination (
  ON (SELECT atrbtn_old_dr_pth_noprsnt_conv.ind,
             atrbtn_old_dr_pth_noprsnt_conv.num_conv / 
             atrbtn_old_dr_pth_noprsnt_tot.num_tot::real AS value
      FROM atrbtn_old_dr_pth_noprsnt_conv INNER JOIN atrbtn_old_dr_pth_noprsnt_tot
        ON atrbtn_old_dr_pth_noprsnt_conv.ind = atrbtn_old_dr_pth_noprsnt_tot.ind
     )
);