Dataset: heart_disease (classification)
Penalty: 0.2
Seed: 7
Best fitness: -0.848655834399513
Final val loss: 0.83702539
Final penalty: 0.18708099
Model saved to: logs/classification/heart_disease/models/best_model_penalty_0.2_seed_7.pth

Final architecture & hyperparameters:
  num_layers: 5
  layer_sizes: [16, 21, 19, 17, 15]
  activations: [1, 1, 3, 1, 3]
  dropout_rates: [0.301, 0.417, 0.475, 0.226, 0.16]
  batch_norms: [1, 0, 1, 0, 1]
  learning_rate: 0.0161
  batch_size: 32
  patience: 20
  optimizer_type: 2
  init_type: 0
  l2_penalty: 0.0009

Validation metrics (final):
  accuracy: 66.66666666666666
  precision: 34.61538461538461
  recall: 45.83333333333333
  f1_score: 37.282539682539685
  confusion_matrix: [[22, 1, 0, 1, 0], [4, 3, 0, 1, 0], [0, 2, 0, 4, 0], [0, 0, 0, 5, 0], [0, 0, 0, 2, 0]]
  num_classes: 5
  class_distribution: {0: 24, 1: 8, 2: 6, 3: 5, 4: 2}

Test metrics (final):
  accuracy: 60.86956521739131
  precision: 21.885057471264368
  recall: 35.199999999999996
  f1_score: 25.77777777777778
  confusion_matrix: [[24, 1, 0, 0, 0], [4, 0, 0, 5, 0], [1, 0, 0, 4, 0], [0, 1, 0, 4, 0], [0, 0, 0, 2, 0]]
  num_classes: 5
  class_distribution: {0: 25, 1: 9, 2: 5, 3: 5, 4: 2}
