To attract customers, the hotel chain has added to its website the ability to book a room without prepayment

Overview

Hotel-Room-Reservation

Project Description

To attract customers, the hotel chain has added to its website the ability to book a room without prepayment. However, if the customer cancelled the booking, the company suffered losses. The hotel staff could, for example, buy groceries for the arrival of a guest or simply not have time to find another client.

To solve this problem, we need to develop a system that predicts the rejection of armor. If the model shows that the reservation will be canceled, the client is invited to make a deposit. The deposit amount is 80% of the room rate for one day and the cost of a one-time cleaning. The money will be debited from the client's account if he still cancels the reservation.

The hotel_train and hotel_test tables contain the same columns:

  • id - record number;
  • adults - number of adult guests;
  • arrival_date_year - year of arrival;
  • arrival_date_month - month of arrival;
  • arrival_date_week_number - arrival week;
  • arrival_date_day_of_month - day of arrival;
  • babies - number of babies;
  • booking_changes:
    • the number of changes to the order parameters;
  • children:
    • number of children from 3 to 14 years old;
  • country - citizenship of the guest;
  • customer_type - type of the customer:
  • Contract - contract with a legal entity;
  • Group - group check-in:
  • Transient - not related to a contract or a group check-in;
  • Transient-party - is not related to a contract or a group check-in, but is related to a booking of the Transient type.
  • days_in_waiting_list - how many days the order was waiting for confirmation;
  • distribution_channel - order distribution channel;
  • is_canceled - order cancellation;
  • is_repeated_guest - indicates that the guest is booking a room for the second time;
  • lead_time - the number of days between the booking date and
  • the arrival date;
  • meal - order options:
    • sc - no additional options;
    • bb - breakfast included;
    • Hb - breakfast and lunch included;
    • breakfast, lunch and dinner are included.
  • previous_bookings_not_canceled -
    • the number of confirmed orders from the client;
    • previous_cancellations - the number of cancelled orders from the client;
  • required_car_parking_spaces - the need for a place for the car;
  • reserved_room_type - type of the reserved room;
  • stays_in_weekend_nights - number of nights on weekends;
  • stays_in_week_nights - number of nights on weekdays;
  • total_nights - total number of nights;
  • total_of_special_requests - the number of special marks.

Business metrics and other data

The main business metric for any hotel chain is its profit. The profit of the hotel is the difference between the cost of a room for all nights and the cost of service: both during the preparation of the room and during the stay of the guest.

The hotel has several types of rooms. Depending on the type of room, the cost per night is assigned. There are also cleaning costs. If the client has rented a room for a long time, then they are cleaned every two days.

The cost of hotel rooms:

  • category A: per night - 1,000, one-time service - 400;
  • category B: per night - 800, one-time service - 350;
  • category C: per night - 600, one-time service - 350;
  • category D: per night - 550, one-time service - 150;
  • category E: 500 per night, one-time service - 150;
  • category F: per night - 450, one-time service - 150;
  • category G: per night - 350, one-time service - 150.

The hotel's pricing policy uses seasonal coefficients: in spring and autumn prices increase by 20%, in summer - by 40%.

The budget for the development of the forecasting system is 400,000. At the same time, it should be taken into account that the implementation of the model should pay off in a year. Development costs should be less than the revenue that the system will bring to the company.

Owner
Taychinov Evgeniy
Taychinov Evgeniy
Small Arrow Vortex clipboard processing library

Description Small Arrow Vortex clipboard processing library. Install You can install this library from PyPI with pip install av-clipboard-lib or compi

Delta Epsilon 1 Dec 18, 2021
Tools for collecting social media data around focal events

Social Media Focal Events The focalevents codebase provides tools for organizing data collected around focal events on social media. It is often diffi

Ryan Gallagher 80 Nov 28, 2022
Hitchhikers-guide - The Hitchhiker's Guide to Data Science for Social Good

Welcome to the Hitchhiker's Guide to Data Science for Social Good. What is the Data Science for Social Good Fellowship? The Data Science for Social Go

Data Science for Social Good 907 Jan 01, 2023
A PDM plugin to publish to PyPI

PDM Publish A PDM plugin to publish to PyPI NOTE: Consider if you need this over using twine directly Installation If you installed pdm via pipx: pipx

Branch Vincent 20 Aug 06, 2022
Mdisk - 🚧 On Construction 🚧

Mdisk Install For Package pip install mdisk pip install git+https://github.com/HeimanPictures/Mdisk.git Usage You can use this as python module or via

AkKiL 6 Aug 08, 2022
Pixelarticons - Pixel Art Icons made simple for Flutter, powered by pixelarticons and fontify

Pixelarticons - Pixel Art Icons made simple for Flutter, powered by pixelarticons and fontify

lask 16 Dec 12, 2022
Source for the Fedora Silverblue and Kinoite variants.

Source for the Fedora Silverblue and Kinoite variants.

Fedora Kinoite 7 Aug 20, 2022
Aesthetic NFT Generator

A E S T H E T I C Dependencies Pillow numpy OpenCV You can use pip to install any missing dependencies. Basic Usage Vaporwave artwork can be generated

Mentor Elezi 4 Mar 13, 2022
A simple script that can watch a list of directories for change and does some action

plot_watcher A simple script that can watch a list of directories and does some action when a specific kind of change happens In its current implement

Charaf Errachidi 12 Sep 10, 2021
A program that takes Python classes and turns them into CSS classes.

PyCSS What is it? PyCSS is a micro-framework to speed up the process of writing bulk CSS classes. How does it do it? With Python!!! First download the

T.R Batt 0 Aug 03, 2021
A faster copy of nell's comet nuker

Astro a faster copy of nell's comet nuker also nell uses external libraries like it's cocaine man never learned to use ansi color codes (ily nell) (On

horrid 8 Aug 15, 2022
Drop-down terminal for GNOME

Guake 3 README Introduction Guake is a python based dropdown terminal made for the GNOME desktop environment. Guake's style of window is based on an F

Guake 4.1k Dec 25, 2022
An attempt at furthering Factorio Calculator to work in more general contexts.

factorio-optimizer Lets do Factorio Calculator but make it optimize. Why not use Factorio Calculator? Becuase factorio calculator is not general. The

Jonathan Woollett-Light 1 Jun 03, 2022
Projects and assets from Wireframe #56

Wireframe56 Projects and assets from Wireframe #56 Make a Boulder Dash level editor in Python, pages 50-57, by Mark Vanstone. Code an homage to Bubble

Wireframe magazine 10 Sep 07, 2022
Shai-Hulud - A qtile configuration for the (spice) masses

Shai-Hulud - A qtile configuration for the (spice) masses Installation Notes These dotfiles are set up to use GNU stow for installation. To install, f

16 Dec 30, 2022
📜Generate poetry with gcc diagnostics

gado (gcc awesome diagnostics orchestrator) is a wrapper of gcc that outputs its errors and warnings in a more poetic format.

Dikson Santos 19 Jun 25, 2022
Simple python code for compile brainfuck program.

py-brainf*ck Just a basic compiled that compiles your brainf*ck codes and gives you informations about memory, used cells, dumped version, logs etc...

4 Jun 13, 2021
Python 100daysofcode

#python #100daysofcode Python is a simple, general purpose ,high level & object-oriented programming language even it's is interpreted scripting langu

Tara 1 Feb 10, 2022
i3wm helper tool for workspaces on multiple monitors

i3screens A helper tool for managing i3wm workspaces on multiple monitors. Use-case You have a multi-monitor setup and want to have the "same" workspa

Sebastian Neef 1 Dec 05, 2022
A Python package to request and process seismic waveform data from Hi-net.

HinetPy is a Python package to simplify tedious data request, download and format conversion tasks related to NIED Hi-net. NIED Hi-net | Source Code |

Dongdong Tian 65 Dec 09, 2022