Dataset: heart_disease (classification)
Penalty: 0.0
Seed: 7
Best fitness: -0.7681713581085206
Final val loss: 0.83315624
Final penalty: 0.00000000
Model saved to: logs/classification/heart_disease/models/best_model_penalty_0.0_seed_7.pth

Final architecture & hyperparameters:
  num_layers: 5
  layer_sizes: [31, 17, 22, 26, 16]
  activations: [4, 4, 1, 4, 3]
  dropout_rates: [0.132, 0.187, 0.232, 0.416, 0.21]
  batch_norms: [0, 1, 0, 0, 1]
  learning_rate: 0.0126
  batch_size: 16
  patience: 11
  optimizer_type: 2
  init_type: 0
  l2_penalty: 0.0003

Validation metrics (final):
  accuracy: 60.0
  precision: 23.13479623824452
  recall: 35.16666666666667
  f1_score: 27.358490566037734
  confusion_matrix: [[23, 1, 0, 0, 0], [6, 0, 1, 1, 0], [0, 2, 0, 4, 0], [0, 0, 1, 4, 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: 67.3913043478261
  precision: 43.33333333333334
  recall: 42.22222222222222
  f1_score: 36.94423223834988
  confusion_matrix: [[25, 0, 0, 0, 0], [4, 1, 0, 4, 0], [1, 1, 1, 2, 0], [0, 0, 1, 4, 0], [0, 0, 0, 2, 0]]
  num_classes: 5
  class_distribution: {0: 25, 1: 9, 2: 5, 3: 5, 4: 2}
