Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Problem Statement The retail marketing department of a bank is planning to develop campaigns that more effectively target potential loan customers. The goal is to
Problem Statement
The retail marketing department of a bank is planning to develop campaigns that more
effectively target potential loan customers. The goal is to increase the conversion rate with
minimal budget expenditure. To support this, the department seeks to build a predictive model
to identify depositors with a high probability of purchasing a consumer loan. This model will
enhance campaign efficiency by focusing efforts on customers most likely to convert, thereby
increasing the success ratio and reducing campaign costs.
The dataset contains information on customers' financial profiles, including their
demographics, financial products, and services usage. This data can be used for various
analytical purposes, such as understanding customer behaviour, financial product usage, and
creditworthiness.
Dataset:CustomerFinancialInfo.csv can be downloaded from drive
Import LibrariesDataset
a Download the dataset.
b Import the required libraries.
Data Visualization and Exploration M
a Print rows for sanity check to identify all the features present in the dataset and if
the target matches with them.
b Provide appropriate data visualizations to get an insight about the dataset.
c Do the correlational analysis on the dataset. Provide a visualization for the same.
Will this correlational analysis have effect on feature selection that you will perform
in the next step? Justify your answer. Answer without justification will not be
awarded marks.
Data Preprocessing and cleaning M
a Do the appropriate preprocessing of the data like identifying NULL or Missing
Values if any, handling of outliers if present in the dataset, skewed data etc. Mention
the preprocessing steps performed in the markdown cell.
b Apply appropriate feature engineering techniques. Apply the feature transformation
techniques like Standardization, Normalization, etc. You are free to apply the
appropriate transformations depending upon the structure and the complexity of
your dataset. Provide proper justification. Techniques used without justification
will not be awarded marks. Explore a few techniques for identifying feature
importance for your feature engineering task.
Model Building M
a Split the dataset into training and test sets. Answer without justification will not
be awarded marks. M
i Train Test
ii Also, try to split the dataset with different ratios of your choice.
b Build model using Logistic model and decision tree M
i Tune hyperparameters eg number of trees, maximum depth using crossvalidation. Justify your answer.
Performance Evaluation M
a Compare the performance of the Logistic Regression and Decision Tree models
using appropriate evaluation metrics.
b Provide insights into which model performs better and why. Answer without
justification will not be awarded marks.
Instructions for Assignment Evaluation
Please follow the naming convention as ipynb.
Eg for group with problem statement your notebooks should be named as
GroupProblemStatementipynb.
Inside each jupyter notebook, you are required to mention your name, Group detailsand the
Assignment dataset you will be working on
Organize your code in separate sections for each task. Add comments to make the code
readable.
Deep Learning Models are strictly not allowed. You are encouraged to learn classical Machine
learning techniques and experience their behavior.
Notebooks without output shall not be considered for evaluation.
Prepare a jupyter notebook to build, train and evaluate a Machine Learning model on the given
dataset. Please read the instructions carefully.
Each group consists of up to members. All members of the group will work on thesame
problem statement.
Each group should upload assignment on LMS in respective locations under ASSIGNMENT
Tab. Assignment submitted via means other than through LMS will not be graded.
The executed ipynb file with clearsubdivision of the codes and brief description of the purpose
of respective code needs to be uploaded on LMS All the executed tablesor graphs and results
should be present in the ipynb file.
Only two files should be uploaded in canvas without zipping them. One is ipynb fileand other
one html output of the ipynb file. No other files should be uploaded.please follow this
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started