Add RL auction agent (Double DQN) and Set Transformer for team valuation

- rl_auction_agent.py: Custom Gym-free auction environment with N opponents,
  numpy-only Q-network with manual backprop, Double DQN policy with target
  network, full training loop with epsilon decay and periodic evaluation,
  and baseline comparison vs greedy and MILP strategies.
- set_transformer.py: Team-level valuation model treating roster as an
  unordered set. Two modes: full PyTorch Set Transformer with ISAB/PMA
  when torch is available, or sklearn Bag-of-Players fallback using
  per-role aggregates, pairwise cosine similarities, and position entropy.
This commit is contained in:
ramseshk
2026-08-11 17:27:26 +08:00
parent f83a521649
commit 916278a640
2 changed files with 1723 additions and 0 deletions
File diff suppressed because it is too large Load Diff