Output - Aster Analytics

Teradata AsterĀ® Analytics Foundation User GuideUpdate 2

Product
Aster Analytics
Release Number
7.00.02
Published
September 2017
Language
English (United States)
Last Update
2018-04-17
dita:mapPath
uce1497542673292.ditamap
dita:ditavalPath
AA-notempfilter_pdf_output.ditaval
dita:id
B700-1022
lifecycle
previous
Product Category
Software

There are three state tables - pi_loyalty (initial), A_loyalty (transition) and B_loyalty (emission) - that are output.

HMMSupervisedLearner Output Message
message
HMM models will be saved to the tables pi_loyalty, A_loyalty, and B_loyalty once the training process is successfully completed.

The following query returns the output shown in the following table:

SELECT * FROM pi_loyalty ORDER BY 1, 2;
HMMSupervisedLearner Output Table pi_loyalty
user_id state probability
1 H 0
1 L 1
1 N 0
2 H 0
2 L 0
2 N 1
3 H 0
3 L 1
3 N 0

The following query returns the output shown in the following table:

SELECT * FROM A_loyalty ORDER BY 1, 2, 3;
HMMSupervisedLearner Output Table A_loyalty
user_id from_state to_state probability
1 H H 0.166666666666667
1 H L 0.666666666666667
1 H N 0.166666666666667
1 L H 0.0444444444444444
1 L L 0.933333333333333
1 L N 0.0222222222222222
1 N H 0.333333333333333
1 N L 0.666666666666667
1 N N 0
2 H H 0.461538461538462
2 H L 0.230769230769231
2 H N 0.307692307692308
2 L H 0.2
2 L L 0.1
2 L N 0.7
2 N H 0.0657894736842105
2 N L 0.0789473684210526
2 N N 0.855263157894737
3 H H 0.921348314606742
3 H L 0.0224719101123595
3 H N 0.0561797752808989
3 L H 0.75
3 L L 0.25
3 L N 0
3 N H 0.833333333333333
3 N L 0
3 N N 0.166666666666667

The following query returns the output shown in the following table:

SELECT * FROM B_loyalty ORDER BY 1, 2, 3;
HMMSupervisedLearner Output Table B_loyalty
user_id state observed probability
1 H LL 0
1 H LM 0
1 H LS 0
1 H ML 0
1 H MM 0.166666666666667
1 H MS 0.5
1 H SL 0.166666666666667
1 H SM 0.166666666666667
1 H SS 0
1 L LL 0.307692307692308
1 L LM 0.142857142857143
1 L LS 0.131868131868132
1 L ML 0.153846153846154
1 L MM 0.0549450549450549
1 L MS 0.0879120879120879
1 L SL 0.0549450549450549
1 L SM 0.010989010989011
1 L SS 0.0549450549450549
1 N LL 0
1 N LM 0
1 N LS 0.333333333333333
1 N ML 0.333333333333333
1 N MM 0
1 N MS 0.333333333333333
1 N SL 0
1 N SM 0
1 N SS 0
2 H LL 0
2 H LM 0.0769230769230769
2 H LS 0
2 H ML 0.153846153846154
2 H MM 0.0769230769230769
2 H MS 0.153846153846154
2 H SL 0.153846153846154
2 H SM 0.153846153846154
2 H SS 0.230769230769231
2 L LL 0.1
2 L LM 0.2
2 L LS 0.3
2 L ML 0
2 L MM 0.2
2 L MS 0
2 L SL 0.2
2 L SM 0
2 L SS 0
2 N LL 0.0909090909090909
2 N LM 0.0779220779220779
2 N LS 0.0779220779220779
2 N ML 0.207792207792208
2 N MM 0.12987012987013
2 N MS 0.194805194805195
2 N SL 0.051948051948052
2 N SM 0.0909090909090909
2 N SS 0.0779220779220779
3 H LL 0.0555555555555556
3 H LM 0.0444444444444444
3 H LS 0.0777777777777778
3 H ML 0.0666666666666667
3 H MM 0.144444444444444
3 H MS 0.111111111111111
3 H SL 0.0555555555555556
3 H SM 0.2
3 H SS 0.244444444444444
3 L LL 0.25
3 L LM 0.25
3 L LS 0.5
3 L ML 0
3 L MM 0
3 L MS 0
3 L SL 0
3 L SM 0
3 L SS 0
3 N LL 0
3 N LM 0
3 N LS 0.166666666666667
3 N ML 0.333333333333333
3 N MM 0.166666666666667
3 N MS 0
3 N SL 0
3 N SM 0.166666666666667
3 N SS 0.166666666666667