Dataset: heart_disease (classification)
Penalty: 0.1
Seed: 7
Best fitness: -0.8113110770027969
Final val loss: 0.80936891
Final penalty: 0.05710917
Model saved to: logs/classification/heart_disease/models/best_model_penalty_0.1_seed_7.pth

Final architecture & hyperparameters:
  num_layers: 4
  layer_sizes: [8, 16, 7, 26]
  activations: [4, 4, 2, 4]
  dropout_rates: [0.1, 0.245, 0.239, 0.114]
  batch_norms: [0, 0, 1, 1]
  learning_rate: 0.0183
  batch_size: 64
  patience: 30
  optimizer_type: 2
  init_type: 0
  l2_penalty: 0.0

Validation metrics (final):
  accuracy: 60.0
  precision: 22.857142857142858
  recall: 38.33333333333333
  f1_score: 27.44939271255061
  confusion_matrix: [[22, 1, 0, 1, 0], [6, 0, 1, 1, 0], [0, 1, 0, 5, 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: 65.21739130434783
  precision: 43.14285714285714
  recall: 43.2
  f1_score: 34.6475279106858
  confusion_matrix: [[24, 1, 0, 0, 0], [4, 0, 0, 5, 0], [2, 0, 1, 2, 0], [0, 0, 0, 5, 0], [0, 0, 0, 2, 0]]
  num_classes: 5
  class_distribution: {0: 25, 1: 9, 2: 5, 3: 5, 4: 2}
