File size: 1,253 Bytes
3433527
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "model_type": "phone_detection_cnn",
  "architecture": "MobileNetV2_with_custom_head",
  "input_shape": [
    224,
    224,
    3
  ],
  "num_classes": 1,
  "task": "binary_classification",
  "classes": {
    "0": "negative",
    "1": "positive"
  },
  "training_parameters": {
    "batch_size": 32,
    "learning_rate": 0.001,
    "optimizer": "Adam",
    "loss_function": "binary_crossentropy",
    "metrics": [
      "accuracy"
    ],
    "epochs": 50
  },
  "data_augmentation": {
    "rotation_range": 20,
    "width_shift_range": 0.2,
    "height_shift_range": 0.2,
    "horizontal_flip": true,
    "zoom_range": 0.2,
    "shear_range": 0.2,
    "fill_mode": "nearest"
  },
  "model_layers": {
    "base_model": "MobileNetV2",
    "base_model_trainable": false,
    "custom_layers": [
      "GlobalAveragePooling2D",
      "Dense_128_relu",
      "Dropout_0.3",
      "Dense_64_relu",
      "Dropout_0.2",
      "Dense_1_sigmoid"
    ]
  },
  "performance": {
    "validation_accuracy": 0.8079096078872681,
    "validation_loss": 0.4199891686439514
  },
  "dataset_info": {
    "total_images": 888,
    "training_samples": 711,
    "validation_samples": 177,
    "class_distribution": {
      "positive": 540,
      "negative": 348
    }
  }
}