Git Product home page Git Product logo

gonet's Introduction

GoNet

Classifier for the game of Go. Give it a Go board state and it will predict where the pro would move and how likely either side is to win the game from the current board state.

Best accuracy

Policy Head ~50%

Value Head ~70%

Visual Examples

Heat map of networks PolicyHead outputs over an input board state. Includes ValueHeads winner prediction, as well as the real winner of the professional game. Generated using the NetHeatMap class.

Data format

Features

Go net is designed to take input data similarly formatted to AlphaZero. The input data is in the format (Samples)xPx19x19 where P is the total number of binary feature planes, and 19x19 is the go game board or the color plane. The first feature plane (color) is either all zeros (BLACK) or all ones (WHITE). The following feature planes are separated into stacks of two planes per board state. The first plane (m) after the color plane is a binary grid of the side-to-moves pieces from the most recent board state (S), while plane m+1 is composed of a similar structure but consists of the opponents pieces from state S. Further feature planes are built from states S-n where n is at most (P-1)/2.

Labels

The input format GoNet takes labels in is (Samples)x3. The three labels in order are: Index of the move on the board, color of side to move (BLACK = 1, WHITE = 2), and who won the game.

Current work

Refining the network composition.

Data

In order to produce the data format required for GoNet you must either feed GoNet data produced from the TYGEM dataset with my TygemParser or use a similar data converter for the Professional dataset located in my GoClassifier. Or, produce your own data set in the correct format.

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.