File size: 1,989 Bytes
47febf3
 
 
 
 
 
 
 
 
 
 
1ad420d
 
 
 
 
 
 
 
 
 
285cc58
 
d8a9dda
 
 
 
 
 
 
 
0167124
ce6b0d7
 
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
Description of StackedLogisticSolversMaxIter5000SolverSagaRandomState42 Model

![image/png](https://cdn-uploads.huggingface.co/production/uploads/659512081adf6d577e6b0c7a/Qm9bGKeU0_Ri94flBNsMA.png)

This model, named "StackedLogisticSolversMaxIter5000SolverSagaRandomState42," is a stacked classifier that combines various machine learning techniques to predict hotel booking cancellations in the hospitality industry. The model utilizes an advanced "Stacking Model" technique, integrating different base algorithms to improve prediction accuracy.

The base model consists of four classifiers: RandomForestClassifier, LogisticRegression with custom parameters (max_iter=5000, solver='saga', random_state=42), DecisionTreeClassifier, and Support Vector Classifier (SVC) with data scaling. These base models are combined into a meta-model that also uses LogisticRegression with the same parameter configuration. Additionally, data scaling is performed using StandardScaler on models that require it.

The StackedLogisticSolversMaxIter5000SolverSagaRandomState42 model has been trained and fine-tuned to achieve an 89% accuracy rate in predicting hotel booking cancellations. Its primary goal is to provide data-driven insights to empower hotel management, optimize reservation systems, and enhance overall service quality.

This model is designed for use in predictive analytics applications within the hotel industry and can serve as a valuable resource for making informed decisions and reducing losses due to cancellations.

                accuracy    recall  f1-score   support

           0       0.86      0.79      0.83      3607
           1       0.90      0.94      0.92      7276

    accuracy                           0.89     10883
   macro avg       0.88      0.86      0.87     10883
weighted avg       0.89      0.89      0.89     10883

---
license: mit
language:
- en
metrics:
- accuracy
library_name: sklearn
tags:
- finance
- code
pipeline_tag: tabular-regression
---