Dataset: heart_disease (classification)
Penalty: 0.1
Seed: 73
Best fitness: -0.9223081473230504
Final val loss: 0.96026910
Final penalty: 0.09256684
Model saved to: logs/classification/heart_disease/models/best_model_penalty_0.1_seed_73.pth

Final architecture & hyperparameters:
  num_layers: 5
  layer_sizes: [32, 7, 15, 4, 21]
  activations: [4, 2, 2, 4, 4]
  dropout_rates: [0.288, 0.143, 0.347, 0.372, 0.095]
  batch_norms: [1, 0, 1, 1, 0]
  learning_rate: 0.0069
  batch_size: 16
  patience: 14
  optimizer_type: 2
  init_type: 0
  l2_penalty: 0.0025

Validation metrics (final):
  accuracy: 57.77777777777777
  precision: 20.606060606060606
  recall: 31.166666666666664
  f1_score: 24.711779448621552
  confusion_matrix: [[23, 0, 0, 1, 0], [7, 0, 0, 1, 0], [3, 1, 0, 2, 0], [0, 2, 0, 3, 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: 63.04347826086957
  precision: 28.452380952380953
  recall: 34.22222222222223
  f1_score: 29.230769230769234
  confusion_matrix: [[25, 0, 0, 0, 0], [6, 1, 0, 2, 0], [3, 0, 0, 2, 0], [0, 2, 0, 3, 0], [1, 0, 0, 1, 0]]
  num_classes: 5
  class_distribution: {0: 25, 1: 9, 2: 5, 3: 5, 4: 2}
