File size: 6,551 Bytes
575d22a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
[
  {
    "category": "true_positive",
    "index": 2,
    "y_true": 1,
    "prediction": 1,
    "probability": 0.7679175138473511,
    "shap_values": {
      "hotel": -0.013177326880395412,
      "lead_time": 0.27093467116355896,
      "arrival_date_year": 0.10717716068029404,
      "arrival_date_month": 0.046636875718832016,
      "arrival_date_week_number": 0.007057845126837492,
      "arrival_date_day_of_month": 0.015515242703258991,
      "stays_in_weekend_nights": -0.003432020079344511,
      "stays_in_week_nights": -0.006210292223840952,
      "adults": 0.015318267978727818,
      "children": -0.007357093971222639,
      "babies": -6.629295239690691e-05,
      "meal": 0.06084809452295303,
      "market_segment": 0.5826431512832642,
      "distribution_channel": -0.005265130195766687,
      "is_repeated_guest": 0.0023761300835758448,
      "previous_cancellations": -0.048768918961286545,
      "previous_bookings_not_canceled": 0.0238479096442461,
      "reserved_room_type": -0.17490211129188538,
      "assigned_room_type": 0.3624641001224518,
      "booking_changes": 0.09503821283578873,
      "deposit_type": -0.38260650634765625,
      "days_in_waiting_list": 0.00499193649739027,
      "customer_type": 0.005631973035633564,
      "adr": 0.22705571353435516,
      "required_car_parking_spaces": 0.10856841504573822,
      "total_of_special_requests": 0.736638605594635,
      "total_stay_duration": 0.03156501054763794,
      "total_guests": -0.0028324569575488567,
      "is_family": -0.004709186032414436,
      "is_peak_season": 0.03317419812083244,
      "is_summer_peak": 0.0013722111470997334,
      "is_holiday_season": -0.017516281455755234,
      "hotel_target_encoded": -0.008734573610126972,
      "market_segment_target_encoded": 0.15508981049060822,
      "distribution_channel_target_encoded": -0.03044990263879299,
      "reserved_room_type_target_encoded": 0.0011005409760400653,
      "customer_type_target_encoded": 0.1587882786989212,
      "country__te": -0.5817746520042419,
      "guest_type__te": 0.002932904753834009,
      "arrival_season__te": -0.02166694961488247,
      "arrival_quarter__te": -0.001362183946184814
    }
  },
  {
    "category": "false_positive",
    "index": 7,
    "y_true": 0,
    "prediction": 1,
    "probability": 0.7768429517745972,
    "shap_values": {
      "hotel": -0.04107680171728134,
      "lead_time": 0.20630843937397003,
      "arrival_date_year": 0.12643642723560333,
      "arrival_date_month": -0.03379317745566368,
      "arrival_date_week_number": -0.01691223680973053,
      "arrival_date_day_of_month": -0.0038236246909946203,
      "stays_in_weekend_nights": -0.020141033455729485,
      "stays_in_week_nights": 0.005030508618801832,
      "adults": 0.012447455897927284,
      "children": 0.08788547664880753,
      "babies": -6.629295239690691e-05,
      "meal": 0.00710188876837492,
      "market_segment": 0.5442723035812378,
      "distribution_channel": -0.006446031853556633,
      "is_repeated_guest": 0.0023962713312357664,
      "previous_cancellations": -0.054328884929418564,
      "previous_bookings_not_canceled": 0.027283739298582077,
      "reserved_room_type": -0.28937697410583496,
      "assigned_room_type": 0.37023118138313293,
      "booking_changes": 0.07717075943946838,
      "deposit_type": -0.37375608086586,
      "days_in_waiting_list": 0.003258473239839077,
      "customer_type": 0.0052125826478004456,
      "adr": 0.2486179769039154,
      "required_car_parking_spaces": 0.11153995245695114,
      "total_of_special_requests": 0.7757676243782043,
      "total_stay_duration": 0.038464903831481934,
      "total_guests": 0.002308598253875971,
      "is_family": 0.01916220597922802,
      "is_peak_season": -0.023274041712284088,
      "is_summer_peak": -0.0020165895111858845,
      "is_holiday_season": 4.689610796049237e-05,
      "hotel_target_encoded": -0.007977521046996117,
      "market_segment_target_encoded": 0.1509910523891449,
      "distribution_channel_target_encoded": -0.03097727708518505,
      "reserved_room_type_target_encoded": -0.036723002791404724,
      "customer_type_target_encoded": 0.1517724245786667,
      "country__te": -0.22035948932170868,
      "guest_type__te": -0.00904961209744215,
      "arrival_season__te": -0.007437328342348337,
      "arrival_quarter__te": 0.0005368555430322886
    }
  },
  {
    "category": "false_negative",
    "index": 10,
    "y_true": 1,
    "prediction": 0,
    "probability": 0.36954548954963684,
    "shap_values": {
      "hotel": -0.05511629208922386,
      "lead_time": 0.18352645635604858,
      "arrival_date_year": 0.1316099613904953,
      "arrival_date_month": 0.02599601075053215,
      "arrival_date_week_number": -0.07640720903873444,
      "arrival_date_day_of_month": -0.005574983078986406,
      "stays_in_weekend_nights": 0.03126369044184685,
      "stays_in_week_nights": 0.019554395228624344,
      "adults": 0.014410095289349556,
      "children": -0.0004327027127146721,
      "babies": -2.9597815228044055e-05,
      "meal": 0.005594600923359394,
      "market_segment": 0.35903194546699524,
      "distribution_channel": -0.00748800253495574,
      "is_repeated_guest": 0.001656562671996653,
      "previous_cancellations": -0.0757187083363533,
      "previous_bookings_not_canceled": 0.027033040300011635,
      "reserved_room_type": -0.20557740330696106,
      "assigned_room_type": 0.19640541076660156,
      "booking_changes": 0.07736871391534805,
      "deposit_type": -0.39705631136894226,
      "days_in_waiting_list": 0.0031135703902691603,
      "customer_type": 0.007273601833730936,
      "adr": 0.2758876085281372,
      "required_car_parking_spaces": 0.12637829780578613,
      "total_of_special_requests": -1.018623948097229,
      "total_stay_duration": 0.12197940051555634,
      "total_guests": -0.0008809716673567891,
      "is_family": -0.0023323686327785254,
      "is_peak_season": -0.015776723623275757,
      "is_summer_peak": 0.0005290449480526149,
      "is_holiday_season": 4.4685075408779085e-05,
      "hotel_target_encoded": -0.011267091147601604,
      "market_segment_target_encoded": 0.12202320247888565,
      "distribution_channel_target_encoded": -0.027583105489611626,
      "reserved_room_type_target_encoded": -0.060819387435913086,
      "customer_type_target_encoded": 0.11991596966981888,
      "country__te": 0.09951554983854294,
      "guest_type__te": 0.0032427667174488306,
      "arrival_season__te": -0.004380077589303255,
      "arrival_quarter__te": 0.026889480650424957
    }
  }
]