Dataset: heart_disease (classification)
Penalty: 0.1
Seed: 19
Best fitness: -0.9127256379711681
Final val loss: 0.93761434
Final penalty: 0.06030172
Model saved to: logs/classification/heart_disease/models/best_model_penalty_0.1_seed_19.pth

Final architecture & hyperparameters:
  num_layers: 4
  layer_sizes: [21, 28, 9, 26]
  activations: [3, 2, 1, 2]
  dropout_rates: [0.433, 0.101, 0.138, 0.092]
  batch_norms: [1, 0, 0, 1]
  learning_rate: 0.0086
  batch_size: 16
  patience: 14
  optimizer_type: 2
  init_type: 0
  l2_penalty: 0.0001

Validation metrics (final):
  accuracy: 62.22222222222222
  precision: 30.450142450142447
  recall: 39.33333333333333
  f1_score: 32.297637003519355
  confusion_matrix: [[22, 0, 0, 2, 0], [4, 2, 0, 2, 0], [1, 1, 0, 4, 0], [0, 1, 0, 4, 0], [0, 1, 0, 1, 0]]
  num_classes: 5
  class_distribution: {0: 24, 1: 8, 2: 6, 3: 5, 4: 2}

Test metrics (final):
  accuracy: 60.86956521739131
  precision: 21.744421906693713
  recall: 38.4
  f1_score: 26.127946127946128
  confusion_matrix: [[23, 0, 0, 2, 0], [5, 0, 0, 4, 0], [1, 0, 0, 4, 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}
