matanask commited on
Commit
3b4b59b
·
verified ·
1 Parent(s): faa8db3

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +124 -0
README.md ADDED
@@ -0,0 +1,124 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ pretty_name: "Hotel Booking Cancellation Analysis"
5
+ tags:
6
+ - tabular
7
+ - classification
8
+ - exploratory-data-analysis
9
+ - pandas
10
+ license: "cc-by-4.0"
11
+ task_categories:
12
+ - classification
13
+ ---
14
+
15
+ # Hotel Booking Cancellation Analysis
16
+
17
+ ## Overview
18
+
19
+ This project explores hotel booking data in order to better understand customer behavior, with a focus on cancellations.
20
+ The goal is to identify patterns that may help hotels predict and reduce cancellation rates.
21
+
22
+ The dataset was taken from Kaggle and then cleaned, processed, and analyzed using Python.
23
+
24
+ ---
25
+
26
+ ## Data Cleaning
27
+
28
+ Before starting the analysis, several cleaning steps were performed:
29
+
30
+ - Checked for missing values across all columns
31
+ - Verified and removed duplicate rows
32
+ - Reviewed data types and ensured consistency
33
+ - Explored summary statistics to understand distributions
34
+
35
+ Outliers were identified in variables such as lead time and average daily rate (ADR).
36
+ Instead of removing them completely, I chose to keep most of them, since they may represent real customer behavior (e.g., very early bookings or luxury pricing).
37
+ However, in some visualizations, extreme values were limited to improve readability.
38
+
39
+ ---
40
+
41
+ ## Question 1: Do cancellation rates differ between city hotels and resort hotels?
42
+
43
+ ![Hotel Type](hotel_type.png)
44
+
45
+ City hotels show a higher cancellation rate compared to resort hotels.
46
+ This suggests that bookings in city hotels may be more flexible or less certain.
47
+
48
+ In contrast, resort bookings are typically planned further in advance and are more stable.
49
+
50
+ ---
51
+
52
+ ## Question 2: Are bookings with a longer lead time more likely to be canceled?
53
+
54
+ ![Lead Time](lead_time.png)
55
+
56
+ Bookings that were eventually canceled tend to have a higher average lead time.
57
+ This indicates that customers who book far in advance are more likely to change their plans.
58
+
59
+ However, this is a general trend and not a strict rule.
60
+
61
+ ---
62
+
63
+ ## Additional Insight: How does cancellation rate change across lead time ranges?
64
+
65
+ ![Lead Time Groups](lead_time_groups.png)
66
+
67
+ When dividing lead time into ranges, a clear pattern appears:
68
+ The longer the lead time, the higher the cancellation rate.
69
+
70
+ This adds depth to the previous analysis by showing that the relationship is gradual, not just based on averages.
71
+
72
+ ---
73
+
74
+ ## Question 3: Do repeated guests cancel less than first-time guests?
75
+
76
+ ![Repeated Guests](repeated_guests.png)
77
+
78
+ Repeated guests have a noticeably lower cancellation rate.
79
+ This suggests that returning customers are more confident and committed to their bookings.
80
+
81
+ ---
82
+
83
+ ## Question 4: How does average daily rate (ADR) relate to cancellation behavior?
84
+
85
+ ![ADR](adr.png)
86
+
87
+ Higher-priced bookings tend to have slightly higher cancellation rates.
88
+ This may indicate that customers are more sensitive when prices are higher, or that these bookings are compared more carefully with alternatives.
89
+
90
+ ---
91
+
92
+ ## Key Insights
93
+
94
+ - Cancellation is strongly influenced by lead time
95
+ - Returning customers are more reliable than new ones
96
+ - City hotels experience more cancellations than resort hotels
97
+ - Price may play a role in customer decision-making
98
+
99
+ Overall, customer behavior is not random.
100
+ It is influenced by timing, experience, and pricing factors.
101
+
102
+ ---
103
+
104
+ ## Business Recommendations
105
+
106
+ Based on the analysis:
107
+
108
+ - Encourage shorter lead time bookings to reduce cancellations
109
+ - Offer incentives for returning customers
110
+ - Apply stricter cancellation policies for long-term bookings
111
+ - Monitor pricing strategies for high-value bookings
112
+
113
+ These actions can help hotels improve planning and reduce uncertainty.
114
+
115
+ ---
116
+
117
+ ## Dataset Source
118
+
119
+ The original dataset was taken from Kaggle:
120
+ "Hotel Booking Demand Dataset"
121
+
122
+ The data was modified, cleaned, and analyzed for educational purposes.
123
+
124
+ ---