{
  "model_name": "x5_d1_transformer_v1",
  "model_type": "D1Transformer",
  "ticker": "X5",
  "timeframe": "D1",
  "arch": {
    "input_size": 61,
    "d_model": 64,
    "nhead": 4,
    "num_layers": 2,
    "dim_feedforward": 128,
    "dropout": 0.4,
    "activation": "gelu",
    "total_params": 75395
  },
  "training": {
    "batch_size": 16,
    "optimizer": "AdamW",
    "lr": 5e-05,
    "weight_decay": 0.001,
    "loss": "WeightedFocalLoss(gamma=2.0)",
    "epochs_trained": 80,
    "patience": 25,
    "training_time_sec": 141.1283314228058,
    "data": "x5_d1_augmented.h5 (без pre-train)"
  },
  "metrics": {
    "test_accuracy": 0.5757575757575758,
    "test_macro_f1": 0.2436,
    "test_confusion_matrix": [
      [
        19,
        0,
        0
      ],
      [
        4,
        0,
        0
      ],
      [
        10,
        0,
        0
      ]
    ],
    "sell_recall": 0.0,
    "sell_precision": 0.0,
    "val_loss": 0.4832666516304016,
    "threshold": 0.55
  }
}