THE PORTUGESE BANK’s DIRECT MARKETING …...THE PORTUGESE BANK’s DIRECT MARKETING CAMPAIGN GOAL...
Transcript of THE PORTUGESE BANK’s DIRECT MARKETING …...THE PORTUGESE BANK’s DIRECT MARKETING CAMPAIGN GOAL...
![Page 1: THE PORTUGESE BANK’s DIRECT MARKETING …...THE PORTUGESE BANK’s DIRECT MARKETING CAMPAIGN GOAL To predict if the client will subscribe to the bank’s term deposit through the](https://reader033.fdocuments.us/reader033/viewer/2022060213/5f0534fd7e708231d411cf66/html5/thumbnails/1.jpg)
THE PORTUGESE BANK’s DIRECT MARKETING
CAMPAIGN
![Page 2: THE PORTUGESE BANK’s DIRECT MARKETING …...THE PORTUGESE BANK’s DIRECT MARKETING CAMPAIGN GOAL To predict if the client will subscribe to the bank’s term deposit through the](https://reader033.fdocuments.us/reader033/viewer/2022060213/5f0534fd7e708231d411cf66/html5/thumbnails/2.jpg)
GOALTopredictiftheclientwillsubscribetothebank’sterm
depositthroughthecampaignbasedoncalls.
![Page 3: THE PORTUGESE BANK’s DIRECT MARKETING …...THE PORTUGESE BANK’s DIRECT MARKETING CAMPAIGN GOAL To predict if the client will subscribe to the bank’s term deposit through the](https://reader033.fdocuments.us/reader033/viewer/2022060213/5f0534fd7e708231d411cf66/html5/thumbnails/3.jpg)
ROADMAPv Understandingthedatav ExploratoryDataAnalysisv FeatureSelectionandEngineeringv Choosingthemodelv Evaluationmetrics
![Page 4: THE PORTUGESE BANK’s DIRECT MARKETING …...THE PORTUGESE BANK’s DIRECT MARKETING CAMPAIGN GOAL To predict if the client will subscribe to the bank’s term deposit through the](https://reader033.fdocuments.us/reader033/viewer/2022060213/5f0534fd7e708231d411cf66/html5/thumbnails/4.jpg)
THEFIRSTLOOK20Features
• Numberofrows=41188• CategoricalFeatures=10• NumericalFeatures=10• Fewunknownvalues
ClassImbalanceintarget
![Page 5: THE PORTUGESE BANK’s DIRECT MARKETING …...THE PORTUGESE BANK’s DIRECT MARKETING CAMPAIGN GOAL To predict if the client will subscribe to the bank’s term deposit through the](https://reader033.fdocuments.us/reader033/viewer/2022060213/5f0534fd7e708231d411cf66/html5/thumbnails/5.jpg)
INSIGHTSFROMDATA
Preferablecontacttype
Frequencyofsubscriptiondependsonjobtitle.AsAdminandTechnicalrolesarestableroles.
Monthseemstobeanimportantfeatureasthedataisevenlydistributed.Highly,likelytouseHotEncoding.
![Page 6: THE PORTUGESE BANK’s DIRECT MARKETING …...THE PORTUGESE BANK’s DIRECT MARKETING CAMPAIGN GOAL To predict if the client will subscribe to the bank’s term deposit through the](https://reader033.fdocuments.us/reader033/viewer/2022060213/5f0534fd7e708231d411cf66/html5/thumbnails/6.jpg)
CORRELATIONNumericalversusNumerical Categorical(housing)versusCategorical
CategoricalColumns P-Value
job 0.0900
y 0.0583
marital 0.0442
education 0.0118
default 0.0103
day_of_week 0.0012
poutcome 0.0000
month 0.0000
contact 0.0000
loan 0.0000
NumericalversusCategorical
HeatMap,CrosstabandChi-Squaredmethodtoidentifycorrelationsbetweendifferentvariables
![Page 7: THE PORTUGESE BANK’s DIRECT MARKETING …...THE PORTUGESE BANK’s DIRECT MARKETING CAMPAIGN GOAL To predict if the client will subscribe to the bank’s term deposit through the](https://reader033.fdocuments.us/reader033/viewer/2022060213/5f0534fd7e708231d411cf66/html5/thumbnails/7.jpg)
FEATURESELECTION&ENGINEERINGq BasedonRandomForestEstimatorandDecisionTreeq FeatureImportancepredictedq Top7commonfeaturesareselectedfromboththemethods
q Binscreatedonthecolumnsage,campaign.q HandlingOutliersq Standardizedthecolumneurobi3musingminandmaxq Labelencodedonallthecategoricalvariablesq MissingValuesHandledq OversamplingfortheImbalancedClassthroughrandomoversamplingandSMOTE
• age• euribor3m• job• campaign• education• day_of_week• marital',housing'
![Page 8: THE PORTUGESE BANK’s DIRECT MARKETING …...THE PORTUGESE BANK’s DIRECT MARKETING CAMPAIGN GOAL To predict if the client will subscribe to the bank’s term deposit through the](https://reader033.fdocuments.us/reader033/viewer/2022060213/5f0534fd7e708231d411cf66/html5/thumbnails/8.jpg)
RESULTSDataspitted(80–20)randomlytotrainandtestthealgorithms
Addingthecolumn‘Duration’tothemodelincreasestheefficiencyby12%butthecolumnisnotusedtopredictthesubscribersasdurationisnotknownbeforethecallisperformed.
FEATURES:07
ALGORITHM RECALL PRECISION AUCROC
LOGISTICREGRESSION 70% 23.8% 70.9%
RANDOMFORESTS 35.2% 28.8% 62.1%
![Page 9: THE PORTUGESE BANK’s DIRECT MARKETING …...THE PORTUGESE BANK’s DIRECT MARKETING CAMPAIGN GOAL To predict if the client will subscribe to the bank’s term deposit through the](https://reader033.fdocuments.us/reader033/viewer/2022060213/5f0534fd7e708231d411cf66/html5/thumbnails/9.jpg)
ANYQUESTIONS?
![Page 10: THE PORTUGESE BANK’s DIRECT MARKETING …...THE PORTUGESE BANK’s DIRECT MARKETING CAMPAIGN GOAL To predict if the client will subscribe to the bank’s term deposit through the](https://reader033.fdocuments.us/reader033/viewer/2022060213/5f0534fd7e708231d411cf66/html5/thumbnails/10.jpg)