https://github.com/olahsymbo/booking-prediction
https://github.com/olahsymbo/booking-prediction
gradient-boosting-classifier logistic-regression oop python3 random-forest-classifier voting-classifier
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/olahsymbo/booking-prediction
- Owner: olahsymbo
- Created: 2020-03-29T20:36:24.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-02-03T08:07:08.000Z (over 5 years ago)
- Last Synced: 2025-06-11T22:50:34.383Z (about 1 year ago)
- Topics: gradient-boosting-classifier, logistic-regression, oop, python3, random-forest-classifier, voting-classifier
- Language: Python
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
## Booking Prediction
The aim of this project is to predict whether an online user will make a booking or not based on the online activities of the user.
### Details
Because the non-booker class is less than booker class we used resampling method to undersample the booker class. Afterward we filter out features with high correlation. And for training Gradient Boosting Classifier (GBC) is used.
In order to perform hyperparameter selection, we used k-fold cross validation to determine the best `max_depth`, `n_estimators`, `min_samples_leaf`.
### Running the codes:
- to train models again, cd into directory and run
```
python3 training_file.py
```
- to make predictions run.
```
python3 testing_file.py
```