返回探索

用 Jev 分类模型下棋:生成合法走法供其选择

作者让 Jev 与自己下棋。由于 Jev 是分类模型、无法直接生成走法,他通过代码生成所有合法走法,再让 Jev 从中选择。

I made Jev play chess against me. How did I do it? Jev can't generate a move. It's a classification model, so it only picks from options you hand it. That turns out to be easy to work around. Any position has a fixed set of legal moves, so I generate all of them in code and let

· 1 次赞在 X 打开