THE PORTUGESE BANK’s DIRECT MARKETING …...THE PORTUGESE BANK’s DIRECT MARKETING CAMPAIGN GOAL...

10
THE PORTUGESE BANK’s DIRECT MARKETING CAMPAIGN

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

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

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

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

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

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

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

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

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

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