mindy001 / BankMarketingPreditions-

This is the project repo for DSCI 522 Data Science Workflows
Creative Commons Zero v1.0 Universal
0 stars 0 forks source link

where we are so far: #3

Open halaarar opened 21 hours ago

halaarar commented 21 hours ago

Everything looks great so far! I just set up the environment so try it on you computer and see if it works. I added references and fixed up the intro, summary, readme etc.

mindy001 commented 21 hours ago

Will do!

mindy001 commented 19 hours ago

the summary needs to be changed to this This lab report analyzes bank marketing campaigns with the goal of using machine learning to predict whether a customer will subscribe to a term deposit. The dataset, sourced from the UCI Machine Learning Repository, contains demographic and campaign-related information on customers who were contacted via phone for a Portuguese bank's direct marketing campaign (Moro et al., 2014). The target variable is whether or not the customer subscribed to a term deposit. The report uses two predictive models: logistic regression and decision tree.

The Logistic Regression model achieved an overall accuracy of 88.5%, with a precision of 0.70, recall of 0.20, and an F1 score of 0.32. The model excelled in precision but struggled with recall, missing a significant number of actual subscribers, as reflected by its low recall rate. The confusion matrix for Logistic Regression showed 5236 true negatives, 68 false positives, 632 false negatives, and 162 true positives.

The Decision Tree model achieved an accuracy of 89.7%, with a precision of 0.63, recall of 0.23, and an F1 score of 0.34. While it performed slightly lower in accuracy than Logistic Regression, the Decision Tree model identified more true subscribers (higher recall) at the cost of increased false positives. Its confusion matrix revealed 7177 true negatives, 126 false positives, 720 false negatives, and 215 true positives.

Both models offer valuable insights for banks seeking to optimize direct marketing efforts for term deposit subscriptions. Strategic recommendations include targeted marketing, personalized offers, and continuous monitoring and adjustment of the models to improve performance. By leveraging these models, banks can enhance marketing strategies, optimize resource allocation, and increase conversion rates.

mindy001 commented 19 hours ago

The metrics are slightly off because I only set the seed after I wrote the conclusion.