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
A Company Management System For Python

campany-management Getting started To make it easy for you to get started with GitLab, here's a list of recommended next steps. Already a pro? Just ed

hatice akpınar 3 Aug 29, 2022
This is a far more in-depth and advanced version of "Write user interface to a file API Sample"

Fusion360-Write-UserInterface This is a far more in-depth and advanced version of "Write user interface to a file API Sample" from https://help.autode

4 Mar 18, 2022
A Pythonic Data Catalog powered by Ray that brings exabyte-level scalability and fast, ACID-compliant, change-data-capture to your big data workloads.

DeltaCAT DeltaCAT is a Pythonic Data Catalog powered by Ray. Its data storage model allows you to define and manage fast, scalable, ACID-compliant dat

45 Oct 15, 2022
A basic interpreted programming language written in python

shin A basic interpreted programming language written in python. extension You can use our own extension ".shin". Example: main.shin How to start Clon

12 Nov 04, 2022
🦋 hundun is a python library for the exploration of chaos.

hundun hundun is a python library for the exploration of chaos. Please note that this library is in beta phase. Example Import the package's equation

kosh 7 Nov 07, 2022
Fluxos de captura e subida de dados no datalake da Prefeitura do Rio de Janeiro.

Pipelines Este repositório contém fluxos de captura e subida de dados no datalake da Prefeitura do Rio de Janeiro. O repositório é gerido pelo Escritó

Prefeitura do Rio de Janeiro 19 Dec 15, 2022
The newest contender in Server Gateway Interface.

nsgi The newest contender in Server Gateway Interface. Why use this webserver? This webserver is made with the newest version of asyncio, and sockets,

OpenRobot 1 Feb 12, 2022
Howell County, Missouri, COVID-19 data and (unofficial) estimates

COVID-19 in Howell County, Missouri This repository contains the daily data files used to generate my COVID-19 dashboard for Howell County, Missouri,

Jonathan Thornton 0 Jun 18, 2022
Expense-manager - Expense manager with python

Expense_manager TO-DO Source extractor: Credit Card, Wallet Destination extracto

1 Feb 13, 2022
Cairo-integer-types - A library for bitwise integer types (e.g. int64 or uint32) in Cairo, with a test suite

The Cairo bitwise integer library (cairo-bitwise-int v0.1.1) The Cairo smart tes

27 Sep 23, 2022
A Dungeon and Dragons Toolkit using Python

Pythons-Dungeons A Dungeon and Dragons Toolkit using Python Rules: -When you are commiting please don't delete parts of the code that are important -A

2 Oct 21, 2021
A Linux program to create a Windows USB stick installer from a real Windows DVD or image.

WoeUSB-ng A Linux program to create a Windows USB stick installer from a real Windows DVD or image. This package contains two programs: woeusb: A comm

Longinus 1 Nov 19, 2021
Cisco IOS-XE Operations Program. Shows operational data using restconf and yang

XE-Ops View operational and config data from devices running Cisco IOS-XE software. NoteS The build folder is the latest build. All other files are fo

18 Jul 23, 2022
A novel dual model approach for categorization of unbalanced skin lesion image classes (Presented technical paper 📃)

A novel dual model approach for categorization of unbalanced skin lesion image classes (Presented technical paper 📃)

1 Jan 19, 2022
Includes Chapters for Python Crash Course session.

python-crash-course Includes Chapters for Python Crash Course session. What will you learn: Python Essentials Creating Server Writing REST API Writing

Vineet Rao 3 Feb 17, 2021
Model synchronization from dbt to Metabase.

dbt-metabase Model synchronization from dbt to Metabase. If dbt is your source of truth for database schemas and you use Metabase as your analytics to

Mike Gouline 270 Jan 08, 2023
Procedural 3D data generation pipeline for architecture

Synthetic Dataset Generator Authors: Stanislava Fedorova Alberto Tono Meher Shashwat Nigam Jiayao Zhang Amirhossein Ahmadnia Cecilia bolognesi Dominik

Computational Design Institute 49 Nov 25, 2022
CDM Device Checker for python

CDM Device Checker for python

zackmark29 79 Dec 14, 2022
Python library for datamining glitch information from Gen 1 Pokémon GameBoy ROMs

g1utils This is a Python library for datamining information about various glitches (glitch Pokémon, glitch maps, etc.) from Gen 1 Pokémon ROMs. TODO A

1 Jan 13, 2022
String Spy is a project aimed at improving MacOS defenses.

String Spy is a project aimed at improving MacOS defenses. It allows users to constantly monitor all running processes for user-defined strings, and if it detects a process with such a string it will

10 Dec 13, 2022