Dataset: heart_disease (classification)
Penalty: 0.0
Seed: 37
Best fitness: -0.7668099893463982
Final val loss: 0.87165839
Final penalty: 0.00000000
Model saved to: logs/classification/heart_disease/models/best_model_penalty_0.0_seed_37.pth

Final architecture & hyperparameters:
  num_layers: 5
  layer_sizes: [20, 31, 26, 8, 23]
  activations: [3, 2, 1, 4, 3]
  dropout_rates: [0.355, 0.436, 0.183, 0.253, 0.012]
  batch_norms: [0, 1, 0, 0, 1]
  learning_rate: 0.0132
  batch_size: 16
  patience: 19
  optimizer_type: 2
  init_type: 0
  l2_penalty: 0.0003

Validation metrics (final):
  accuracy: 64.44444444444444
  precision: 30.150537634408597
  recall: 38.5
  f1_score: 31.757575757575758
  confusion_matrix: [[24, 0, 0, 0, 0], [6, 1, 0, 1, 0], [0, 1, 0, 5, 0], [0, 1, 0, 4, 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: 60.86956521739131
  precision: 26.428571428571423
  recall: 31.644444444444442
  f1_score: 28.50877192982456
  confusion_matrix: [[24, 1, 0, 0, 0], [5, 2, 0, 2, 0], [2, 1, 0, 2, 0], [0, 3, 0, 2, 0], [1, 0, 0, 1, 0]]
  num_classes: 5
  class_distribution: {0: 25, 1: 9, 2: 5, 3: 5, 4: 2}
