Primary competition visual

The Zimnat Insurance Assurance Challenge by #ZindiWeekendz

Helping Africa
$300 USD
Challenge completed over 5 years ago
Prediction
295 joined
105 active
Starti
May 22, 20
Closei
May 24, 20
Reveali
May 24, 20
I need some clarification!
Data · 24 May 2020, 09:18 · 2

I joined the competition late but honestly I didn't know how to tackle this problem, I ended up with a combined and clean df and I'm wondering if I split the data into train and test I end up with a single label. Any insights are welcome, I just need some guidance and thanks!

Discussion 2 answers

If you split df based on Lapse=='?' and 'Lapse != '?' alone, you will end up with a single label in train. What you can do is split df based on year(NP2_EFFECTDATE). Anything below 2020 should be in your train. Then you can split based on Lapse='?' to get your test.

24 May 2020, 09:31
Upvotes 0

I really appreciate it, that was helpful!