File size: 3,285 Bytes
cf23d85
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
  "stage": "Stage 01 — Supervised Classification — Linear/Probabilistic",
  "task": "Booking cancellation risk",
  "target": "target_cancelled",
  "synthetic_training_data": true,
  "production_warning": "The artifacts are technically deployable, but predictive quality is not production-validated until retrained and evaluated on real HRP history.",
  "feature_columns": [
    "city_id",
    "property_type",
    "star_rating",
    "hotel_avg_rating_prior",
    "hotel_reviews_count_prior",
    "hotel_amenity_count",
    "bed_type",
    "bed_count",
    "room_size_sqm",
    "view_type",
    "smoking_allowed",
    "breakfast_included",
    "base_price_per_night",
    "effective_price_per_night",
    "price_to_base_ratio",
    "max_occupancy",
    "total_quantity",
    "available_quantity_at_booking",
    "availability_ratio_at_booking",
    "minimum_stay_nights",
    "stop_sell",
    "is_refundable",
    "guests_count",
    "rooms_count",
    "number_of_nights",
    "total_price",
    "days_until_checkin",
    "checkin_month",
    "checkin_dayofweek",
    "checkin_weekend",
    "customer_prior_bookings",
    "customer_prior_cancellations",
    "customer_prior_cancel_rate",
    "customer_prior_completed",
    "customer_prior_no_show",
    "customer_avg_prior_spend",
    "customer_favorites_count",
    "customer_has_favorited_hotel",
    "customer_account_age_days",
    "customer_last_login_recency_days",
    "email_verified",
    "phone_verified"
  ],
  "categorical_columns": [
    "city_id",
    "property_type",
    "bed_type",
    "view_type",
    "checkin_month",
    "checkin_dayofweek"
  ],
  "numeric_columns": [
    "star_rating",
    "hotel_avg_rating_prior",
    "hotel_reviews_count_prior",
    "hotel_amenity_count",
    "bed_count",
    "room_size_sqm",
    "smoking_allowed",
    "breakfast_included",
    "base_price_per_night",
    "effective_price_per_night",
    "price_to_base_ratio",
    "max_occupancy",
    "total_quantity",
    "available_quantity_at_booking",
    "availability_ratio_at_booking",
    "minimum_stay_nights",
    "stop_sell",
    "is_refundable",
    "guests_count",
    "rooms_count",
    "number_of_nights",
    "total_price",
    "days_until_checkin",
    "checkin_weekend",
    "customer_prior_bookings",
    "customer_prior_cancellations",
    "customer_prior_cancel_rate",
    "customer_prior_completed",
    "customer_prior_no_show",
    "customer_avg_prior_spend",
    "customer_favorites_count",
    "customer_has_favorited_hotel",
    "customer_account_age_days",
    "customer_last_login_recency_days",
    "email_verified",
    "phone_verified"
  ],
  "non_feature_columns": [
    "booking_id",
    "created_at",
    "check_in_date",
    "check_out_date",
    "user_id",
    "hotel_id",
    "room_type_id",
    "target_cancelled"
  ],
  "leakage_columns_never_use": [
    "status",
    "confirmed_at",
    "rejected_at",
    "cancelled_at",
    "completed_at",
    "hotel_response_note",
    "booking_status_history.to_status after created_at"
  ],
  "best_classifier": "logistic_regression",
  "risk_probability_model": "lda",
  "risk_threshold": 0.265,
  "risk_levels": {
    "low": [
      0.0,
      0.35
    ],
    "medium": [
      0.35,
      0.65
    ],
    "high": [
      0.65,
      1.0
    ]
  }
}