Dataset: heart_disease (classification)
Penalty: 0.3
Seed: 3
Best fitness: -0.8930909472109199
Final val loss: 0.85797578
Final penalty: 0.28279138
Model saved to: logs/classification/heart_disease/models/best_model_penalty_0.3_seed_3.pth

Final architecture & hyperparameters:
  num_layers: 5
  layer_sizes: [11, 27, 28, 14, 15]
  activations: [4, 2, 1, 2, 3]
  dropout_rates: [0.135, 0.188, 0.166, 0.496, 0.088]
  batch_norms: [0, 0, 1, 1, 1]
  learning_rate: 0.0227
  batch_size: 64
  patience: 18
  optimizer_type: 2
  init_type: 0
  l2_penalty: 0.0

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

Test metrics (final):
  accuracy: 54.347826086956516
  precision: 20.598290598290596
  recall: 32.800000000000004
  f1_score: 23.42710997442455
  confusion_matrix: [[21, 2, 2, 0, 0], [4, 0, 5, 0, 0], [1, 0, 4, 0, 0], [0, 0, 5, 0, 0], [0, 0, 2, 0, 0]]
  num_classes: 5
  class_distribution: {0: 25, 1: 9, 2: 5, 3: 5, 4: 2}
