Age feature

Let us see how age correlates with the subscription decision:

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

The normalized chart shows that most of the clients are aged between 25 and 60.

The following chart shows that the bank gets a high subscription ratio with clients in the age interval (25, 60).

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.