File size: 1,089 Bytes
05ce1a8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "task": "binary-classification",
  "target": "Uber status (0=Cancelado, 1=Completado)",
  "accuracy": 0.9549,
  "auc_roc": 0.9893298457838143,
  "classification_report": {
    "0.0": {
      "precision": 0.9959522164083325,
      "recall": 0.8849122807017544,
      "f1-score": 0.9371545357424869,
      "support": 11400.0
    },
    "1.0": {
      "precision": 0.9339741331588748,
      "recall": 0.9977956989247312,
      "f1-score": 0.9648306516596917,
      "support": 18600.0
    },
    "accuracy": 0.9549,
    "macro avg": {
      "precision": 0.9649631747836036,
      "recall": 0.9413539898132428,
      "f1-score": 0.9509925937010892,
      "support": 30000.0
    },
    "weighted avg": {
      "precision": 0.9575258047936687,
      "recall": 0.9549,
      "f1-score": 0.954313727611154,
      "support": 30000.0
    }
  },
  "confusion_matrix": [
    [
      10088,
      1312
    ],
    [
      41,
      18559
    ]
  ],
  "best_params": {
    "max_depth": 15,
    "max_features": "sqrt",
    "min_samples_leaf": 4,
    "min_samples_split": 2,
    "n_estimators": 15
  }
}