ragulpr / wtte-rnn

WTTE-RNN a framework for churn and time to event prediction
MIT License
762 stars 186 forks source link

preparation data for churn prediction #76

Open maksimusGREEN opened 2 years ago

maksimusGREEN commented 2 years ago

Hello! Thank you for the materials!

Please, can you help with advise?

I am trying to solve churn prediction task. I have 12 timestamp (month) time-series for 500000 customers with some features. I have churn event for some customers, and some of customers don't have event among whole history. Is it correct, if i do follow definition of targets: For customers, who have an event: event: [0,0,0,0,0,0,0,1,0,0,0,0] tte: [7,6,5,4,3,2,1,0,4,3,2,1] u: [1,1,1,1,1,1,1,1,0,0,0,0] For customers, who don't have an event: event: [0,0,0,0,0,0,0,0,0,0,0,0] tte:[12,11,10,9,8,7,6,5,4,3,2,1] u:[1,1,1,1,1,1,1,1,1,1,1,1]

Did i make a mistake by definition the target in this way?

How I should, if it is wrong? Thank you!

ktncktnc commented 2 years ago

I met the same problem. Can someone help us?