File size: 2,455 Bytes
3fbbbc1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "model": "tf.keras.applications.EfficientNetV2S",
  "dataset": "Arko007/cabbage-disease-classification-final",
  "split": "test",
  "n": 189,
  "test_used_for_model_selection": false,
  "overall": {
    "accuracy": 0.9682539682539683,
    "balanced_accuracy": 0.980849358974359,
    "macro_f1": 0.9723042007524766,
    "macro_precision": 0.9668935104529617,
    "macro_recall": 0.980849358974359,
    "weighted_f1": 0.9683149670378279
  },
  "per_class": {
    "alternaria_leaf_spot": {"support": 39, "precision": 0.9714285714285714, "recall": 0.8717948717948718, "f1": 0.918918918918919},
    "bacterial_leaf_spot": {"support": 25, "precision": 1.0, "recall": 1.0, "f1": 1.0},
    "black_rot": {"support": 13, "precision": 0.8125, "recall": 1.0, "f1": 0.896551724137931},
    "clubroot": {"support": 18, "precision": 1.0, "recall": 1.0, "f1": 1.0},
    "downy_mildew": {"support": 28, "precision": 1.0, "recall": 1.0, "f1": 1.0},
    "grey_mould": {"support": 9, "precision": 1.0, "recall": 1.0, "f1": 1.0},
    "healthy": {"support": 40, "precision": 0.9512195121951219, "recall": 0.975, "f1": 0.9629629629629629},
    "ringspot": {"support": 17, "precision": 1.0, "recall": 1.0, "f1": 1.0}
  },
  "source_stratified": {
    "cabbageguard_canonical": {"n": 30, "accuracy": 0.8, "mean_confidence": 0.8593493362267812},
    "kaggle_pest_ai": {"n": 135, "accuracy": 1.0, "mean_confidence": 0.994309276121634},
    "mendeley_comprehensive_vegetable_leaf_disease": {"n": 24, "accuracy": 1.0, "mean_confidence": 0.9999648878971735}
  },
  "confusion_matrix_class_order": [
    "alternaria_leaf_spot",
    "bacterial_leaf_spot",
    "black_rot",
    "clubroot",
    "downy_mildew",
    "grey_mould",
    "healthy",
    "ringspot"
  ],
  "protocol": {
    "validation_selection_metric": "validation_macro_f1",
    "best_validation_epoch": 7,
    "best_validation_macro_f1": 0.9585248401011454,
    "train_only_augmentation": true,
    "validation_and_test_augmentation": false,
    "test_time_augmentation": false,
    "canonical_source_oversampling": 2,
    "targeted_oversampled_classes": ["alternaria_leaf_spot", "black_rot", "downy_mildew"],
    "class_weighting": "inverse_sqrt_train_frequency_with_targeted_modifiers",
    "seed": 42,
    "gpu": "Tesla P100-PCIE-16GB"
  },
  "data_audit": {
    "total_images": 1272,
    "train": 891,
    "validation": 192,
    "test": 189,
    "corrupt_images": 0,
    "cross_split_exact_duplicate_groups": 0
  }
}