Duration distribution

Let us now take a look at how the duration of calls is related to subscription:

%sql select duration,y, count(1) from trainData group by duration,y order by duration,y

The charts show that most of the calls are short and the subscription ratio is proportional to the call duration. The expanded version provides better insight:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset