Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Feature Engineering Capstone

StaySmart Hotels - Cancellation Risk Prediction

This project predicts hotel booking cancellations using the Hotel Bookings dataset. The goal is to show that feature engineering and preprocessing improve model performance.

Dataset

raw.githubusercontent.com/swapnilsaurav/Dataset/refs/heads/master/hotel_bookings.csv

Hotel Bookings dataset - 119,380 rows, 33 columns Target: is_canceled (binary classification)

Results Summary

Version ROC-AUC F1
Baseline 0.9051 0.7257
After Preprocessing 0.9558 0.8447
After Feature Engineering 0.9809 0.9066
After Selection (Top 20) 0.9739 0.8855

How to Run

  1. Open FeatureEngineering_Capstone.ipynb in Google Colab
  2. Runtime > Restart and Run All
  3. No local setup needed, dataset loads from URL automatically

Requirements

See requirements.txt

Repo Structure

  • FeatureEngineering_Capstone.ipynb - main notebook
  • src/helpers.py - reusable feature construction functions
  • report/ - contains Report PDF
  • requirements.txt - dependencies

About

Hotel booking cancellation prediction using feature engineering and preprocessing. Built for StaySmart Hotels as part of a data science capstone assignment.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages