File size: 1,821 Bytes
d1e851f
 
 
f46a1c5
d1e851f
 
 
 
 
 
 
 
 
 
 
 
 
f46a1c5
d1e851f
 
 
 
f46a1c5
d1e851f
 
f46a1c5
 
 
 
d1e851f
 
 
f46a1c5
d1e851f
f46a1c5
 
d1e851f
f46a1c5
 
 
 
 
d1e851f
 
 
 
f46a1c5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d1e851f
f46a1c5
 
d1e851f
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
{
  "model": "Random Forest Classifier",
  "task": "Hospital 30-Day Readmission Risk Prediction",
  "timestamp": "2025-12-15 19:30:35",
  "environment": "kaggle",
  "sklearn_version": "1.2.2",
  "device": "cpu",
  "evaluation_pipeline": {
    "description": "Robust nested CV with final holdout",
    "k_folds": 5,
    "uses_bootstrap": true,
    "uses_oob_score": true
  },
  "data": {
    "total_samples": 101766,
    "development_size": 86501,
    "final_test_size": 15265,
    "n_features": 113
  },
  "best_params": {
    "n_estimators": 500,
    "max_depth": null,
    "min_samples_split": 10,
    "min_samples_leaf": 4,
    "max_features": "sqrt",
    "class_weight": {
      "0": 1,
      "1": 8
    },
    "bootstrap": true,
    "oob_score": true
  },
  "oob_score": 0.8367186506514376,
  "cross_validation": {
    "mean_roc_auc": 0.8295471326134282,
    "std_roc_auc": 0.005783488154928484,
    "fold_scores": [
      0.8320064003838342,
      0.8340020428733721,
      0.8250132651926065,
      0.8218565225371279,
      0.8348574320802005
    ],
    "n_folds": 5
  },
  "final_test_metrics": {
    "roc_auc": 0.8326208943556381,
    "pr_auc": 0.36408932414480305,
    "precision": 0.35404191616766467,
    "recall": 0.5551643192488263,
    "f1": 0.4323583180987203,
    "accuracy": 0.8372748116606616,
    "balanced_accuracy": 0.7139437848732886,
    "sensitivity": 0.5551643192488263,
    "specificity": 0.8727232504977509,
    "ppv": 0.35404191616766467,
    "npv": 0.9398078297466846,
    "fpr": 0.1272767495022491,
    "fnr": 0.4448356807511737,
    "true_positives": 946,
    "true_negatives": 11835,
    "false_positives": 1726,
    "false_negatives": 758,
    "brier_score": 0.1018540864871197
  },
  "hyperparameter_search_time_seconds": 19142.03841161728,
  "total_time_seconds": 20619.085399627686
}