Dataset: heart_disease (classification)
Penalty: 0.3
Seed: 37
Best fitness: -0.8843502382339855
Final val loss: 0.88319110
Final penalty: 0.27496092
Model saved to: logs/classification/heart_disease/models/best_model_penalty_0.3_seed_37.pth

Final architecture & hyperparameters:
  num_layers: 5
  layer_sizes: [29, 10, 21, 2, 9]
  activations: [3, 4, 3, 4, 3]
  dropout_rates: [0.139, 0.473, 0.218, 0.153, 0.37]
  batch_norms: [1, 0, 0, 1, 1]
  learning_rate: 0.0272
  batch_size: 16
  patience: 22
  optimizer_type: 2
  init_type: 1
  l2_penalty: 0.0

Validation metrics (final):
  accuracy: 64.44444444444444
  precision: 22.692307692307693
  recall: 36.66666666666667
  f1_score: 27.669172932330827
  confusion_matrix: [[24, 0, 0, 0, 0], [6, 0, 2, 0, 0], [1, 0, 5, 0, 0], [0, 0, 5, 0, 0], [1, 0, 1, 0, 0]]
  num_classes: 5
  class_distribution: {0: 24, 1: 8, 2: 6, 3: 5, 4: 2}

Test metrics (final):
  accuracy: 58.69565217391305
  precision: 19.160839160839163
  recall: 31.2
  f1_score: 23.218390804597703
  confusion_matrix: [[24, 0, 1, 0, 0], [5, 0, 4, 0, 0], [2, 0, 3, 0, 0], [1, 0, 4, 0, 0], [1, 0, 1, 0, 0]]
  num_classes: 5
  class_distribution: {0: 25, 1: 9, 2: 5, 3: 5, 4: 2}
