Views
No views yet
| Metric | Value |
|---|---|
| Accuracy | 0.8156 |
| F1 Score | 0.7481 |
| Precision | 0.7903 |
| Recall | 0.7101 |
1import pickle
2
3with open("titanic_xgb_model.pkl", "rb") as f:
4 data = pickle.load(f)
5 model = data["model"]
6 le_sex = data["le_sex"]
7 le_embarked = data["le_embarked"]
8 le_title = data["le_title"]
9
10# See inference.py for full prediction function