Search found 897 matches

by AlvaroBegue
Fri May 10, 2019 2:44 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: catastrophic forgetting
Replies: 5
Views: 430

Re: catastrophic forgetting

Is training for all the variants at the same time an option? I mean, have each minibatch contain examples from each of the variants.
by AlvaroBegue
Fri Apr 26, 2019 12:00 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Endgame evaluation
Replies: 5
Views: 309

Re: Endgame evaluation

There are conditions when you can simply return a value without further search. Some ICCA paper by the authors of DarkThought in the 90s called this "interior-node recognizers": https://www.chessprogramming.org/Interior_Node_Recognizer For situations where you are not sure (say KQKB), you can still ...
by AlvaroBegue
Wed Mar 13, 2019 1:04 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: I lost my rant :(
Replies: 4
Views: 852

Re: I lost my rant :(

Part of the problem is your coding style. Your function names are OK, but your variable names are not informative at all. I have no idea what `ts', `ns', `nd', `mt', or `m' mean. Chances are you won't know when you encounter the code in a couple of days either. You should write code that is easy for...
by AlvaroBegue
Tue Feb 19, 2019 11:57 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: categorical cross entropy for value
Replies: 7
Views: 793

Re: categorical cross entropy for value

I understand your concern, but I suspect in practice it won't matter. Looking at enough examples, the network can figure out that strong positions for white end up being either won by white or draws the vast majority of the time, even if it doesn't know that loss < draw < win.
by AlvaroBegue
Mon Feb 18, 2019 5:51 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: categorical cross entropy for value
Replies: 7
Views: 793

Re: categorical cross entropy for value

You don't propose an alternative, so it's hard to discuss pros and cons. However, these matters always come down to an empirical question. Having a scheme that produces distinct probabilities for the outcomes has the advantage that they can be combined however necessary when we use the network. For ...
by AlvaroBegue
Thu Feb 14, 2019 10:55 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: A0 subtlety
Replies: 29
Views: 3526

Re: A0 subtlety

Was a set of input planes representing a position at time (t - T + 1) oriented for the side to move at time t or time (t - T + 1)? All the history input planes are oriented for the current side to move, i.e. at time t. Would it matter if they weren’t? (That’s a serious question btw) I suppose not b...
by AlvaroBegue
Mon Feb 11, 2019 12:18 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: delete informant symbols for one color in pgn
Replies: 10
Views: 1150

Re: delete informant symbols for one color in pgn

Here's a hacked-together Perl implementation: cat kk.pgn | perl -ne ' if (/^\[/ || /^$/) {print; next;} for $token (split " ", $_) { if ($token =~ /^[1-9]/) {$wtm = 1; print "$token "; next;} if ($wtm == 0) {$token =~ s/[!\?]//g;} print "$token "; $wtm = 1-$wtm; } print "\n" ' That removes markings ...
by AlvaroBegue
Fri Feb 01, 2019 11:22 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: So, how many of you are working on neural networks for chess?
Replies: 22
Views: 2920

Re: So, how many of you are working on neural networks for chess?

smatovic wrote:
Fri Feb 01, 2019 6:03 pm
Myself still ponders on how to combine an AlphaBeta searcher with gpgpu ann eval...
I have a promising idea for that, but I don't really have the time to implement it. My job, my wife and my kids are getting in the way of the really important stuff! :)
by AlvaroBegue
Mon Jan 28, 2019 12:54 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: UCI question
Replies: 11
Views: 1351

Re: UCI question

If you have access to Perl, you can have much more control, like this:

Code: Select all

perl -e '$|=1; print "uci\nisready\nposition fen r1bk1n1r/pp1n1q1p/2p2p1R/3p4/3PpN2/2NB2Q1/PPP2PP1/2K1R3 w - -\ngo movetime 1000\n"; sleep (2); print "quit\n"' | stockfish