nr_employed distribution

The correlation between nr_employed distribution and subscription can be seen with the help of the following command:

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

The chart shows that the subscription rate is inversely proportional to the number of employees.

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.