Pdays distribution

Lets us now take a look at how the pdays distribution is correlated to subscription:

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

The chart shows that most of the clients were not previously contacted.

Get Scala Machine Learning Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.