25

Github上有趣的项目,用机器学习训练AI下五子棋

 5 years ago
source link: http://www.techug.com/post/github-alphazero.html?amp%3Butm_medium=referral
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

谷歌旗下人工智能公司 DeepMind 发布了一篇新论文,它讲述了团队如何利用 AlphaGo 的机器学习系统,构建了新的项目 AlphaZero。AlphaZero 使用了名为「强化学习」(reinforcement learning)的 AI 技术,它只使用了基本规则,没有人的经验,从零开始训练,横扫了棋类游戏 AI。

今天,我们就给大家介绍一个GitHub上的有趣项目——用机器学习训练AI下五子棋。

这是一个将 AlphaZero 算法应用在五子棋的实现,由于五子棋相比围棋或国际象棋简单得多,所以只需几个小时就可以训练出一个不错的 AI 模型。

jURfYr3.gif

从上面的对局样例可以看到,AI 已经学会了怎么下五子棋,知道什么时候要去堵,怎么样才能赢,按我自己对阵 AI 的感受来说,要赢 AI 已经不容易了,经常会打平,有时候稍不留神就会输掉。

Ff67Nve.gif

有兴趣的朋友可以移步项目地址:https://github.com/junxiaosong/AlphaZero_Gomoku

如此强的AI,你不来一局吗?

imMNV3Q.jpg!web

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK