Search found 833 matches

by elcabesa
Sat Oct 17, 2020 1:56 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: BONA_PIECE_ZERO
Replies: 18
Views: 1627

Re: BONA_PIECE_ZERO

I have 2 additional questions about NNUE encoding 1) why square for black is calculated as sq^63 and not as sq^56? it's not a vertical mirro, but is cn be encoed as 63-sq, am i wrong? 2) why piece indices start from 1 and not to 0? this lead to 641 pieces and not 640, but it seems to me that the +1 ...
by elcabesa
Sun Oct 04, 2020 4:01 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: BONA_PIECE_ZERO
Replies: 18
Views: 1627

Re: BONA_PIECE_ZERO

thank you,
you are always very clear and polite
by elcabesa
Sun Oct 04, 2020 3:43 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: BONA_PIECE_ZERO
Replies: 18
Views: 1627

Re: BONA_PIECE_ZERO

ok understood. just another question, even if it is not related to this topic. does the "standard" stockfish NNUE feature encoding also encode the capture square, if a capture is performed? No. so what does this mean? 41,024 = 64 * 641. 64 comes from the number of the cells where king may exist. 64...
by elcabesa
Sun Oct 04, 2020 2:24 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: BONA_PIECE_ZERO
Replies: 18
Views: 1627

Re: BONA_PIECE_ZERO

In the NNUE playing code, it does exactly nothing. Those weights are simply not used. Just like the weights corresponding to a piece on the same square as the friendly king. so those unused features can be used to encode some other information e.g. castling rights. Obviously those added feature nee...
by elcabesa
Sun Oct 04, 2020 2:17 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: BONA_PIECE_ZERO
Replies: 18
Views: 1627

Re: BONA_PIECE_ZERO

ok understood.

just another question, even if it is not related to this topic.

does the "standard" stockfish NNUE feature encoding also encode the capture square, if a capture is performed?
by elcabesa
Sun Oct 04, 2020 1:45 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: BONA_PIECE_ZERO
Replies: 18
Views: 1627

BONA_PIECE_ZERO

I read and read, tried to find info, looked at some implementation, but failed to find useful information

can someone explain it simply or point me to a simple article?
by elcabesa
Mon Aug 17, 2020 5:12 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Pyrrhic, Fathom for Humanoids.
Replies: 19
Views: 5040

Re: Pyrrhic, Fathom for Humanoids.

Sorry for being out of topic, Some time ago I totally refactor the syzygy code using Stockfish code as reference. in the end I have a codebase with unit-test and very much faster that Fathom. The main speed problem of fathom is that it does not use the chess engine position representation, but it re...
by elcabesa
Fri Jul 10, 2020 10:26 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Correct way to store and extract mate scores
Replies: 9
Views: 2012

Re: Correct way to store and extract mate scores

When saving to TT you have to store: "from this node it's a mate in 3"

When reading from TT you have to translate it to: "from root node it's a mate in 5"
by elcabesa
Thu Apr 30, 2020 10:37 am
Forum: Computer Chess Club: General Topics
Topic: linux GUI
Replies: 4
Views: 819

linux GUI

Hi boys,

I'm switching form Windows to Linux. i'm searching a good GUI to analize chess positions.
I already know cutechess to play engine-eniine games and tournaments, but what about analizyng?

I know from the past Scid
by elcabesa
Sat Mar 21, 2020 8:21 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Covid-19, Chess and Threading
Replies: 2
Views: 1209

Re: Covid-19, Chess and Threading

I have an idea in mind, but at the moment Vajolet needs to be refactored a lot to implemnt it. Probably now I'll have the time to try and implement it. The idea is to do somethingh like multiPV to have the exact value of le'ts say 20 PV. I think that when searching with 100 threads having all them s...