This notebook contains code for analyzing a dataset of customer bookings and building a predictive model to predict whether a booking will be completed or not.
To run this notebook, you'll need Python installed on your machine, along with Jupyter Notebook or another compatible environment. You'll also need the necessary libraries installed, which are listed in the requirements.txt file.
Make sure you have the following installed:
- Python 3.x
- Jupyter Notebook
- Required libraries (install using
pip install -r requirements.txt
)
Clone this repository to your local machine:
git clone https://github.com/yourusername/customer-booking-prediction.git
Navigate to the project directory:
cd customer-booking-prediction
Start Jupyter Notebook:
jupyter notebook
Open the notebook bookpredan.ipynb
and execute the cells to run the code.
The dataset used in this notebook (customer_booking.csv
) contains information about customer bookings, including various features such as sales channel, trip type, flight details, booking origin, etc. The target variable is booking_complete
, indicating whether the booking was completed or not.
The notebook performs the following tasks:
- Data loading and inspection
- Data preprocessing
- Model training using Random Forest Classifier
- Evaluation of model performance
- Feature importance analysis
- Hyperparameter tuning (optional)
- Model interpretability using SHAP (optional)
- Pascal Obala (@[email protected])
This project is licensed under the MIT License - see the LICENSE file for details.