Question: b . Build model using Logistic model and decision tree [ 4 M ] Meta data for SCustomer Financial Info Data The dataset contains information
b Build model using Logistic model and decision tree M Meta data for SCustomer Financial Info Data
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.
Customer ID : Unique identifier for each customer.
Age : Age of the customer in years.
YearsExperience : Number of years the customer has been working.
Annual income : Customer's annual income in thousands of dollars.
ZIPCode : Home Address ZIP code.
Familysize : Number of family members.
AvgSpending : Average spending on credit cards per month in thousands of dollars.
EducationLevel: Educational qualification level of the customer : Undergrad; : Graduate; : AdvancedProfessional
Mortgage: Value of the mortgage loan if any, in thousands of dollars. $
HasConsumerLoan: Indicates if the customer has taken a consumer loan: No : Yes
HasSecuritiesAccount : Indicates if the customer has a securities account.: No: Yes
HasCDAccount : Indicates if the customer has a certificate of deposit CD account.: No: Yes
UsesOnlineBanking :Indicates if the customer uses online banking services.: No: Yes
HasCreditCard :Indicates if the customer has a credit card.: No : Yes
i Tune hyperparameters eg number of trees, maximum depth using cross
validation. Justify your answer.
Performance Evaluation
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.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
