# Financial Inclusion in Africa โ Zindi Competition ๐
**Short description**
This repository contains code and data used for the Zindi competition "Financial Inclusion in Africa." The goal is to predict whether a person has access to financial services using demographic and socio-economic features.
---
## ๐ Project overview
- **Competition**: Zindi โ Financial Inclusion in Africa
- **Task**: Binary classification to predict financial inclusion
- **Notebook**: `fincial_inclusion_in_africa_notebook.ipynb` contains EDA, preprocessing, modeling experiments, and submission generation steps.
---
## ๐ Repository structure
- `fincial_inclusion_in_africa_notebook.ipynb` โ main analysis and modelling notebook
- `data/` โ dataset folder
- `Train.csv` โ training set with labels
- `Test.csv` โ test set for which submissions are generated
- `VariableDefinitions.csv` โ variable descriptions
- `SampleSubmission.csv` โ sample submission format
- `submissions/` โ generated submission files (example outputs)
---
## ๐งฐ Requirements & setup
Recommended Python environment (example):
```bash
python -m venv .venv
# Windows PowerShell
.\.venv\Scripts\Activate.ps1
pip install --upgrade pip
pip install -r requirements.txt
```
Minimum suggested packages (add exact versions in `requirements.txt`):
- pandas
- numpy
- matplotlib
- seaborn
- scikit-learn
- xgboost
- lightgbm (optional)
- jupyterlab or notebook
Note: The notebook contains a `pip install xgboost` cell โ add `xgboost` to your `requirements.txt` to avoid installing from inside the notebook.
---
## โถ๏ธ How to run
1. Activate your Python environment
2. Install dependencies: `pip install -r requirements.txt`
3. Open the notebook:
```bash
jupyter lab # or jupyter notebook
```
4. Run notebook cells in order (EDA โ preprocessing โ modeling โ generate submission)
5. Generated submissions are saved to `data/submissions/` (e.g. `second_submission.csv`)
---
## ๐งพ Notebook summary & findings ๐
- **Preprocessing**: implemented i โฆ