Giter VIP home page Giter VIP logo

aai's People

Contributors

akio0803 avatar fukuta0614 avatar kiikurage avatar tatsuya-iizuka-1011 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

aai's Issues

探索エンジンつくる

  • パラメータ

    name type description
    board Board 探索開始時の盤面状態
    depth int 読む深さ
    limit int 探索打ち切り時刻
  • 返り値

    探索結果の木のtuple

    Node: (b: Board, c: Color, (x: int, y: int, next: Node)[])

    の形。伝われ。

PreprocessedDataset作る

  • 棋譜データ読み込む

  • ランダムに1ターン選ぶ

  • そのターン開始時の盤面を再現

  • その盤面を元に、以下の特徴量(6x8x8)を作成する

    order name description
    0 黒の石の有無 0:ない、1:ある
    1 白の石の有無 0:ない、1:ある
    2 おけるかどうか 0:おけない、1:おける
    3 ターン数 64で割って[0, 1)で正規化
    4 自分の色
    5 返せる個数 最大値で割って[0, 1]で正規化

V(s)の教師データ作成

  • V(盤面s) -> 最終的な石の差の確率分布P(s)
  • Q(盤面s, 手a) == V(s') ->最終的な石の差の確率分布P(s)

を求める関数(モンテカルロ?)

  • 自分はランダム
  • 極論、sにおけるすべての手を試して一番引き分けに近いところ行きたい。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.