gostyle: the basic library, intitial commit.
[gostyle.git] / README
blobb342381da57860752d5d9fff92f27bf2ed5388c6
1 Hello!!
3 This repository includes various tools used to analyze Go-players style. Whats here:
4     - a tool for database of Go games, whose data structures (like a list of games)
5     we use all over the place, read utils/godb_models.py and utils/godb_session.py
6     
7     - a simple wrapper for pachi to work with the games and scan the raw patterns comfortably
8         (see pachi.py)
9     
10     - stuff to work and form pattern vectors from raw patterns (see game_to_vec.py )
11         and to export the vectors as .tab files which can be then used by the Orange Datamining
12         toolkit to fiddle around with some machine learning stuff, http://orange.biolab.si/
13     
14 All the major files have examples at the bottom and are pretty well commented.
17 REQUIREMENTS:
18     - if you want to scan the games, you need pachi go engine, instructions below
19     
20     - if you want to toy with machine learning stuff, you need the Orange datamining toolkit
21         get it from http://orange.biolab.si/
24 ------
25 How to prepare pachi:
26 run this in some dir (assuming in a parent dir of gostyle - this dir)
28 $ git clone git://repo.or.cz/pachi.git
29 $ cd pachi
30 $ git checkout jmhack
31 # this is a ugly way to make the contiguity feature say the real distance
32 # instead of a proximity flag it does by def.
33 $ patch  pattern.c ../gostyle/PATCH_pachi.diff
34 $ make
35 # this is necessary, otw pachi segfaults
36 $ touch patterns.spat