File size: 2,281 Bytes
425ad11
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "model": "efficientnet_b0",
  "dataset": "AI-Lab-Makerere/beans",
  "test_samples": 128,
  "classes": [
    "angular_leaf_spot",
    "bean_rust",
    "healthy"
  ],
  "classification_report": {
    "angular_leaf_spot": {
      "precision": 0.9230769230769231,
      "recall": 0.8372093023255814,
      "f1-score": 0.8780487804878049,
      "support": 43.0
    },
    "bean_rust": {
      "precision": 0.8723404255319149,
      "recall": 0.9534883720930233,
      "f1-score": 0.9111111111111111,
      "support": 43.0
    },
    "healthy": {
      "precision": 0.9761904761904762,
      "recall": 0.9761904761904762,
      "f1-score": 0.9761904761904762,
      "support": 42.0
    },
    "accuracy": 0.921875,
    "macro avg": {
      "precision": 0.9238692749331047,
      "recall": 0.922296050203027,
      "f1-score": 0.9217834559297974,
      "support": 128.0
    },
    "weighted avg": {
      "precision": 0.9234605155482816,
      "recall": 0.921875,
      "f1-score": 0.9213584010840108,
      "support": 128.0
    }
  },
  "confusion_matrix": [
    [
      36,
      6,
      1
    ],
    [
      2,
      41,
      0
    ],
    [
      1,
      0,
      41
    ]
  ],
  "macro_f1": 0.9217834559297974,
  "accuracy": 0.921875,
  "per_class": {
    "angular_leaf_spot": {
      "precision": 0.9230769230769231,
      "recall": 0.8372093023255814,
      "f1": 0.8780487804878049,
      "support": 43.0
    },
    "bean_rust": {
      "precision": 0.8723404255319149,
      "recall": 0.9534883720930233,
      "f1": 0.9111111111111111,
      "support": 43.0
    },
    "healthy": {
      "precision": 0.9761904761904762,
      "recall": 0.9761904761904762,
      "f1": 0.9761904761904762,
      "support": 42.0
    }
  },
  "holdout_passed": true,
  "self_improvement_history": [
    {
      "round": 1,
      "config": {
        "epochs": 10,
        "lr": 0.0002,
        "augment": 1
      },
      "val_f1": 0.9328,
      "test_f1": 0.8762,
      "passed": false
    },
    {
      "round": 2,
      "config": {
        "epochs": 15,
        "lr": 0.0001,
        "augment": 2
      },
      "val_f1": 0.924,
      "test_f1": 0.9218,
      "passed": true
    }
  ],
  "winning_round": 2,
  "winning_config": {
    "epochs": 15,
    "lr": 0.0001,
    "augment": 2
  }
}