Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added an example to 14_imbalanced/handling_imbalanced_data_exercise.md #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions 14_imbalanced/handling_imbalanced_data_exercise.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,17 @@
1. Improve f1 score in minority class using various techniques such as undersampling, oversampling, ensemble etc

[Solution](https://github.com/codebasics/deep-learning-keras-tf-tutorial/blob/master/14_imbalanced/Handling%20Imbalanced%20Data%20In%20Customer%20Churn%20Using%20ANN/Bank%20Turnover%20Customer%20Churn%20Using%20ANN.ipynb)

Thanks https://github.com/src-sohail for providing this solution.
Thanks https://github.com/src-sohail for providing this solution.
3. Exercise: Predicting Customer Satisfaction
Use the Customer Satisfaction dataset from Kaggle. - https://www.kaggle.com/datasets/teejmahal20/airline-passenger-satisfaction

1. Build a classification model to predict customer satisfaction.
2. Initially, use a logistic regression model from scikit-learn.
3. Print the classification report and analyze precision, recall, and f1-score.
4. Try to improve the f1-score for the minority class using techniques like undersampling, oversampling, or ensemble methods.

5. [Solution] : https://www.kaggle.com/code/teejmahal20/classification-predicting-customer-satisfaction

Thanks https://kaggle/teejmahal20 for providing this solution.