Default distribution

Let's check whether default credit has a correlation with the subscription decision:

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

This chart shows there are almost no clients with default credit and clients with no default credit have a slight subscription ratio.

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.