Connect 4 应该使用什么机器学习算法?

发布于 2024-12-06 03:25:30 字数 153 浏览 2 评论 0原文

我有一个擅长玩 Connect 4(使用极小极大)的 AI。现在我想使用一些机器学习算法来从我拥有的人工智能中学习,并且我想让它们互相对抗来做到这一点。

什么算法对此有好处?我将如何训练它?如果有人能说出一种方法,我可以很容易地自己用谷歌搜索它。但现在我不知道该谷歌什么...

I have an AI that is good at playing Connect 4 (using minimax). Now I want to use some machine learning algorithm to learn from this AI that I have, and I would like to do that by just letting them play against each other.

What algorithm would be good for this, and how would I train it? If someone could just name a way of doing this I can easily Google it by my self. But right now I don't know what to Google...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

堇色安年 2024-12-13 03:25:30

四子棋是一款已解决的游戏,这意味着有一种策略可以让先手的玩家获胜。您可以尝试采用机器学习方法,但除非作为练习,否则毫无意义。

您可以在 Victor Allis 的 硕士论文 (pdf)。

Connect Four is a solved game, meaning that there is a strategy that will always allow the player who goes first to win. You could try to do a machine learning approach, but it would pointless except as an exercise.

You can read how Victor Allis used an expert system to find the winning strategy in his master's thesis (pdf).

小…红帽 2024-12-13 03:25:30

你绝对可以使用神经网络来做到这一点。由于很难找到正确数量的输入和输出节点以及所有权重,因此我建议使用进化计算技术(例如遗传算法)来做到这一点。

希望这有帮助。干杯!

You could definitely use a neural network to do this. Since it can be hard to find the right amount of input and output nodes and all the weights, I recommend using evolutionary computation techniques (such as a genetic algorithm) to do this.

Hope this helps. Cheers!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文