Warrior_EA/AI/Impl
Repository files (latest commit first)
Filename Latest commit message Latest commit date
AnimateDread 444909d0a3 feat: S2 meta-labeling head - binary trade-quality model over the classic-candidate corpus
The NN now has a target that is not per-bar direction (closed, best-of-999
p=1.0000): P(win | this journaled candidate, at the EA's own SL/TP, net of
cost). One net for all 52 pattern-sides, AIType=AI_META.

- NetForward.mqh: the host-side softmax+CE gradient generalized total==3 ->
  2||3 on both backprop paths; a 2-class softmax IS a logistic head, and no
  compute backend changes.
- SignalMETA.mqh (new): corpus loaded read-only from the LARGEST signal DB on
  disk (decoupled from the config fingerprint that burned four S1 runs); the
  GMT->server offset is measured PER ROW against entryPrice vs bar open
  (DST-immune, histogram logged); a window-span regime filter drops the
  pre-2017 daily-backfill rows; 31-feature setup descriptor appended at the
  input (26 one-hot + side + tanh netVote + SL/TP ATR + spread/ATR).
- Training.mqh: candidate-queued pass 1, binary-target pass 2, per-candidate
  calibration (2.5) and OOS (3) walks. Counter mapping win->Buy / loss->Sell
  lets checkpoint selection, the edge floor, the plateau ladder and the
  family-wise deploy gate run UNCHANGED: precision reads as win rate among
  traded candidates, chance as the base win rate, recalls as sensitivity/
  specificity. Era-end META line: coverage x (p - break-even) vs the null.
- Labels are the side-conditional triple-barrier win caches - never the DB's
  stop-and-reverse outcome. Logit adjustment deliberately skipped (~40% base
  rate). Live inference + online learning guarded off until S3.
- Fingerprint: conditional |TGT:META1; State\META\ folder + 2-output filename
  slot keep meta models fully separate from direction models.

Compiles clean (0 errors, 0 warnings). S2 run = attach a chart with
AIType=AI_META; S3 wires the votes via the per-side hooks.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-13 06:52:31 -04:00
..
Layer.mqh refactor(ai): extract Layer.mqh and deduplicate AI config 2026-08-01 11:27:28 -04:00
NetBuild.mqh fix: live trades now use the geometry the gate certifies; perf: BN kernels 2026-08-09 17:51:40 -04:00
NetForward.mqh feat: S2 meta-labeling head - binary trade-quality model over the classic-candidate corpus 2026-08-13 06:52:31 -04:00
NetPersistence.mqh fix: improve error messages and suppress false sharing-violation logs 2026-08-02 01:09:18 -04:00
NetWeights.mqh feat: mini-batch gradient accumulation (F4), front-end-aware capacity budget (F6), split Wyckoff categoricals (N1) 2026-08-09 11:48:03 -04:00
NeuronBase.mqh refactor(ai): extract Layer.mqh and deduplicate AI config 2026-08-01 11:27:28 -04:00
NeuronConvPool.mqh refactor(ai): extract Layer.mqh and deduplicate AI config 2026-08-01 11:27:28 -04:00
NeuronLSTM.mqh refactor(ai): extract Layer.mqh and deduplicate AI config 2026-08-01 11:27:28 -04:00
NeuronOCLBase.mqh fix: dense backprop read the weight matrix transposed - on every backend 2026-08-11 18:06:09 -04:00
NeuronOCLLSTM.mqh feat: mini-batch gradient accumulation (F4), front-end-aware capacity budget (F6), split Wyckoff categoricals (N1) 2026-08-09 11:48:03 -04:00