Leveraging Machine Learning to Predict and Minimize Hotel Cancellations

You are supporting a hotel with a project aimed to increase revenue from their room bookings. They believe that they can use data science to help them reduce the number of cancellations. This is where you come in! They have asked you to use any appropriate methodology to identify what contributes to whether a booking will be fulfilled or cancelled. They intend to use the results of your work to reduce the chance someone cancels their booking.

The Data

They have provided you with their bookings data in a file called hotel_bookings.csv, which contains the following:

Column Description :

  1. Booking_ID Unique identifier of the booking.
  2. no_of_adults The number of adults.
  3. no_of_children The number of children.
  4. no_of_weekend_nights Number of weekend nights (Saturday or Sunday).
  5. no_of_week_nights Number of week nights (Monday to Friday).
  6. type_of_meal_plan Type of meal plan included in the booking.
  7. required_car_parking_space Whether a car parking space is required.
  8. room_type_reserved The type of room reserved.
  9. lead_time Number of days before the arrival date the booking was made.
  10. arrival_year Year of arrival.
  11. arrival_month Month of arrival.
  12. arrival_date Date of the month for arrival.
  13. market_segment_type How the booking was made.
  14. repeated_guest Whether the guest has previously stayed at the hotel.
  15. no_of_previous_cancellations Number of previous cancellations.
  16. no_of_previous_bookings_not_canceled Number of previous bookings that were canceled.
  17. avg_price_per_room Average price per day of the booking.
  18. no_of_special_requests Count of special requests made as part of the booking.
  19. booking_status Whether the booking was cancelled or not.

Source (data has been modified): https://www.kaggle.com/datasets/ahsan81/hotel-reservations-classification-dataset

The Challenge

Use your skills to produce recommendations for the hotel on what factors affect whether customers cancel their booking.