aboutsummaryrefslogtreecommitdiff
path: root/include/weights.c
AgeCommit message (Collapse)Author
48 hoursFix copyright notice in files, and small preemptive optimisationtslil clingman
Eventually there'll be a more complicated data generation step than the one we're presently using, so having it in-lined in the loop is wasteful. Ideally also this would be update per ply and we could avoid recalculating it entirely for every query -- though it's probably ``fast enough'' for now. Also, caching is WIP.
48 hoursRename ct_k -> ct, IANAL but ...tslil
48 hoursJust some #weightgoals ;)tslil clingman
It turns out that while i was training on a 0/1 classification problem, i was using 2*eval - 1. Training using this function instead, and on bot-dominated game choices (chosen_player in extract.sh) seems to have given a better evaluation function. At the least, Morten's swindle doesn't work anymore.
48 hoursAdded license information!tslil clingman
48 hoursFinally fixed memory order of weights!tslil clingman
48 hoursNew weights from a wider trainingtslil clingman
48 hoursWent back up to 1986 weightstslil
48 hoursThere was a bug in the minimax!tslil
48 hoursBetter trained weights, an important oversight in minimax (steps <=)tslil
I still can't tell whether if ((ply & 1) == 0) this = this - 1.0; is correct.
48 hoursSeems tolerable, but not great. Still wont win or lose ???tslil
48 hoursFixed minimax (!), fixed bugs in tak.ctslil
With minimax of depth 1 the evaluation function seems alright with the current method of training and generating weights
48 hoursTrying minimaxtslil
48 hoursWeights?tslil
48 hoursWider?tslil
48 hoursTrying various things to teach titslil
48 hoursAuto-generating weightstslil
48 hoursNew weightstslil
48 hoursTrain on data that is close to the end of the game onlytslil
48 hoursThis finally works!tslil