Suppose I buy products: [1,2,3,4]
Another customer X bought: [2,3]
Most probably customer X next purchase will be: 4
Sequence is very important in my problem
I tried association analysis using R, but it don't take under consideration the sequence
Please advise what algorithms I need to solve this?
Do I need to First do Clustering to find similar customers?