The output table shows the decoded loyalty levels for the new sequence. For seq_id 5, the loyalty level increased towards the end of the sequence (from L to H; for the other sequences (seq_id 4 and seq_id 6), the loyalty level did not change.
user_id | seq_id | observation | state | purchase_date |
---|---|---|---|---|
1 | 4 | LL | L | 2014-05-01 |
1 | 4 | LS | L | 2014-05-02 |
1 | 4 | SS | L | 2014-05-03 |
1 | 4 | SM | L | 2014-05-04 |
1 | 4 | LL | L | 2014-05-05 |
1 | 4 | ML | L | 2014-05-06 |
1 | 4 | SS | L | 2014-05-07 |
1 | 4 | MM | L | 2014-05-08 |
1 | 4 | MS | L | 2014-05-09 |
1 | 4 | ML | L | 2014-05-10 |
1 | 5 | ML | L | 2014-05-01 |
1 | 5 | SM | L | 2014-05-02 |
1 | 5 | MS | L | 2014-05-03 |
1 | 5 | MS | L | 2014-05-04 |
1 | 5 | SS | L | 2014-05-05 |
1 | 5 | MS | L | 2014-05-06 |
1 | 5 | ML | L | 2014-05-07 |
1 | 5 | MM | L | 2014-05-08 |
1 | 5 | SM | H | 2014-05-09 |
1 | 5 | SM | H | 2014-05-10 |
1 | 6 | SM | L | 2014-05-01 |
1 | 6 | MS | L | 2014-05-02 |
1 | 6 | SS | L | 2014-05-03 |
1 | 6 | LM | L | 2014-05-04 |
1 | 6 | SL | L | 2014-05-05 |
1 | 6 | SS | L | 2014-05-06 |
1 | 6 | SS | L | 2014-05-07 |
1 | 6 | SM | L | 2014-05-08 |
1 | 6 | LS | L | 2014-05-09 |
1 | 6 | LS | L | 2014-05-10 |