Dataset: heart_disease (classification)
Penalty: 0.2
Seed: 37
Best fitness: -0.8633236646168236
Final val loss: 2.21086144
Final penalty: 0.17904738
Model saved to: logs/classification/heart_disease/models/best_model_penalty_0.2_seed_37.pth

Final architecture & hyperparameters:
  num_layers: 5
  layer_sizes: [26, 10, 13, 1, 4]
  activations: [4, 2, 2, 4, 3]
  dropout_rates: [0.177, 0.297, 0.339, 0.338, 0.017]
  batch_norms: [1, 0, 0, 0, 1]
  learning_rate: 0.0299
  batch_size: 256
  patience: 19
  optimizer_type: 0
  init_type: 1
  l2_penalty: 0.0037

Validation metrics (final):
  accuracy: 4.444444444444445
  precision: 0.8888888888888888
  recall: 20.0
  f1_score: 1.702127659574468
  confusion_matrix: [[0, 0, 0, 0, 24], [0, 0, 0, 0, 8], [0, 0, 0, 0, 6], [0, 0, 0, 0, 5], [0, 0, 0, 0, 2]]
  num_classes: 5
  class_distribution: {0: 24, 1: 8, 2: 6, 3: 5, 4: 2}

Test metrics (final):
  accuracy: 4.3478260869565215
  precision: 0.8695652173913043
  recall: 20.0
  f1_score: 1.6666666666666667
  confusion_matrix: [[0, 0, 0, 0, 25], [0, 0, 0, 0, 9], [0, 0, 0, 0, 5], [0, 0, 0, 0, 5], [0, 0, 0, 0, 2]]
  num_classes: 5
  class_distribution: {0: 25, 1: 9, 2: 5, 3: 5, 4: 2}
