Commit Graph

122 Commits

Author SHA1 Message Date
8899c5c2d9 Fixed potential bug in regards to scores in 2-ply calculation. 2018-04-25 00:51:04 +02:00
ea3f05846d Merge branch 'master' of https://gitfub.space/Pownie/backgammon 2018-04-24 22:31:18 +02:00
0509a51fd3 Added baseline model for testing 2018-04-24 22:30:58 +02:00
33a4b0db3c disallow using model "baseline" 2018-04-24 21:16:54 +02:00
349ad718f1 Moved gen_21_rolls into the 2-ply method, so it can be correctly used like the good helper method that it is 2018-04-23 00:45:31 +02:00
e5cc54d3e0 Added a normalised version of quack 2018-04-23 00:35:25 +02:00
160f5bd737 added some comments and removed some old code 2018-04-22 19:13:46 +02:00
77d82f6883 Added code for 2-ply look-ahead 2018-04-22 15:07:19 +02:00
1062b72bda fix typo 2018-04-19 16:04:49 +02:00
66589dfde3 fixed global step, now using exp decay 2018-04-19 16:01:19 +02:00
cba0f67ae2 fixed *the* bug 2018-04-19 15:22:00 +02:00
b6c52ba476 fix type error 2018-04-16 00:24:24 +02:00
8998dca1f2 remove @Pownie's debug print 2018-04-16 00:03:02 +02:00
611f6cdba0 Changed alpha to learning_rate 2018-04-15 23:53:35 +02:00
57fb1cb141 Merge branch 'master' of https://gitfub.space/Pownie/backgammon 2018-04-15 23:52:00 +02:00
cc1e010840 Uses proper board instead of Alex' drunken mistakes 2018-04-15 23:51:28 +02:00
f68d7a9ded add pygame to requirements.txt 2018-04-15 22:45:37 +02:00
f59fe27e5f You can now move off bar 2018-04-14 23:31:33 +02:00
7d29fc02f2 Added global step + exponential decay 2018-04-14 23:11:20 +02:00
1d9c94896d Red can go on bar as well now 2018-04-14 22:53:49 +02:00
716413e2b6 bar works somewhat if black goes on there. Still can't get off it 2018-04-14 22:51:41 +02:00
7993da0db7 Turns are now functioning 2018-04-14 18:47:38 +02:00
7764a70799 Changed calculate_legal_states to allow for possible face_value of 0 2018-04-14 14:51:50 +02:00
c08e7fe540 Few changes to board 2018-04-14 14:13:27 +02:00
dec12d989e Not fully implented board 2018-04-11 00:38:25 +02:00
4cdd1960a0 add pandas and matplotlib to Python package requirements 2018-03-28 15:37:48 +02:00
3bcb7c5df9 Merge branch 'rework-1' into 'master'
Rework 1

See merge request Pownie/backgammon!4
2018-03-28 13:32:58 +00:00
8764fadd6a train-evaluate-save 2018-03-28 15:32:22 +02:00
17f5b62e9b proper Tesauro board representation 2018-03-28 14:36:52 +02:00
fda2c6e08d parametric board representation in network 2018-03-28 12:00:47 +02:00
abce56dd40 fix typo 2018-03-27 23:13:59 +00:00
95b12a6c35 Added another board_rep 2018-03-28 00:33:39 +02:00
785ae6a5be Fixed wrongful appending of current player to board rep 2018-03-28 00:16:50 +02:00
2654006222
fix wrongful mergings 2018-03-27 13:02:36 +02:00
28b82e8228
update dumbeval weights 2018-03-27 12:57:06 +02:00
8822af81e6
move dumbeval code to separate directory 2018-03-27 12:23:15 +02:00
5e5b3981fc Merge branch 'fuck_git' into 'rework-1'
Merge branch 'rework-1' into 'fuck_git'

See merge request Pownie/backgammon!3
2018-03-27 10:19:50 +00:00
d4e699bc49 Merge branch 'rework-1' into 'fuck_git'
Rework 1

See merge request Pownie/backgammon!2
2018-03-27 10:16:37 +00:00
c248ca0452 Merge branch 'fuck_git' into 'rework-1'
# Conflicts:
#   network.py
2018-03-27 10:15:51 +00:00
0eac5434d6
update .gitignore 2018-03-27 11:55:32 +02:00
f43108c239 Training using slightly revamped version of our own board rep. Not sure if works yet. 2018-03-27 04:06:08 +02:00
ab5d2aabb2 Initialized weights completely randomly for dumbeval 2018-03-27 02:41:58 +02:00
006f791727 Functioning network using board representation shamelessly ripped from Tesauro 2018-03-27 02:26:15 +02:00
9b2bbfb4d1
print variances when plotting evaluation variance benchmark 2018-03-26 17:06:12 +02:00
4c43bf19a3
Add evaluation variance benchmark
To do a benchmark for `pubeval`, run `python3 main.py --bench-eval-scores
--eval-methods pubeval`

Logs will be placed in directory `bench`

Use `plot_bench(data_path)` in `plot.py` for plotting
2018-03-26 16:45:26 +02:00
1f1e806306
fix errant whitespace 2018-03-26 15:55:48 +02:00
98c9af72e7 rework network 2018-03-22 15:30:47 +01:00
b7e6dd10af move evaluation code into network.py 2018-03-20 13:17:38 +01:00
99783ee4f8 clean up and move things to network.py 2018-03-20 13:03:21 +01:00
9b96cf41da update .gitignore 2018-03-20 13:03:01 +01:00