🧪 胜负预测实验室
生成对局,用前 70% 构建玩家画像,训练模型预测后 30% — 全程在浏览器中完成。
💡 为什么不需要 GPU?
- Logistic regression has 15 parameters; even the deep MLP has ~2.2k — 100k matches of data is just a few MB.
- One epoch is millions of multiply-adds — milliseconds to seconds in a modern JS engine (see measured times above).
- At this scale WebGL/WebGPU kernel-dispatch overhead actually loses to plain CPU TypeScript.
- A real community produces hundreds to thousands of games — full retraining after every match stays under 100ms.