This project focuses on analyzing customer churn and predicting whether a customer is likely to churn using machine learning techniques. The analysis is implemented in Python, utilizing popular libraries for data preprocessing, visualization, and modeling.
Customer churn is a critical issue for businesses, as retaining customers is often more cost-effective than acquiring new ones. This project aims to:
LabelEncoder.MinMaxScaler for normalization.KNeighborsClassifier from the sklearn library.matplotlib.git clone https://github.com/anurag815311/bank-data-analysis.git
Data Loading: Ensure your dataset is in the same directory or update the data path in the notebook.
Run the Notebook:
Use Jupyter Notebook or Jupyter Lab to execute the Analysis_churn_dataset.ipynb.
Model Training: The notebook guides you through training the KNN model and evaluating its performance.
Visualization: Generate and interpret visualizations for churn trends.
pandas: Data manipulation and analysis.numpy: Numerical computations.matplotlib: Data visualization.scikit-learn:
LabelEncoder and MinMaxScaler.KNeighborsClassifier.