I am new to machine learning and I would like to predict churn using dates of transactions. I tried to prepare my data and I couldn't obtain good results.
I would like to predict unique Customers, for example see table b). I don't know how to do this when I have several dates (weeks) for the same customer, and because of that I don´t know how to prepare my dataset.
Could someone suggest something?