GithubHelp home page GithubHelp logo

Errata about neural_network_chess HOT 60 OPEN

asdfjkl avatar asdfjkl commented on May 22, 2024
Errata

from neural_network_chess.

Comments (60)

asdfjkl avatar asdfjkl commented on May 22, 2024 2

p212: agrees while also searching with around 7,500,000 nodes per
second and evaluates this at
.... despite black being a pawn up

p213: Let’s again check how
our zoo of engines evaluates that position from Black's point of view
evaluation function despite the raw processing power of the machine

p215: about a move he got the replay "Nah you just don’t play like that".

The idea to use neural networks to automatically construct neural networks -> construct evaluation functions
is not new.

p218:we are playing with an handicap of say

p226: It’s a very basic mate threat that most human -> There is a very basic....
p232: It will accepts
as input states of the board and output move probabilities that denote how good
a moves is resp.

from neural_network_chess.

MSoszynski avatar MSoszynski commented on May 22, 2024 1

p7

[DONE] "This book is brief"

This book is a brief

[DONE] "romantic"

Romantic

"referring"

Referring

p8

[DONE] "a chess players perspective"

a chess player's perspective

[DONE] "44... Rd1"
This way to present Black-first moves isn't consistent throughout the book. Compare the very next line on the same page or "1....Bxd1?" on p119. Most books use 3 dots (without a space) not four.

p9

[DONE] "According to Hsiu"

According to Hsu

p11

[DONE] "and Ananad,"

and Anand,

p12

[DONE] "computer scientists perspective,"

computer scientist's perspective,

p13

[DONE] "Based these evaluations,"

Based on these evaluations,

p14

[DONE] "•find a number of candidate moves. Then for each of them sequentially
•calculate all subsequent positions and variation trees that result of those
candidate moves as deep as possible"

•find a number of candidate moves. Then for each of them sequentially...
•calculate all subsequent positions and variation trees that result from those
candidate moves as deep as possible

[DONE] "focus on one specific lines, then decide by instinct
instead by rational though"

focus on one specific line, then decide by instinct instead of by rational thought

p15

[DONE] "have computers plagued"

have plagued computers

[DONE] "to processes and judge"

to process and judge

p16

[DONE] "But how do become good player so good at chess?"

But how do good players become so good at chess?

I hope that's helpful.

Marek Soszynski

from neural_network_chess.

derestup avatar derestup commented on May 22, 2024 1

page 31 dnet1/dw1 = ... = 1
page 32 ... create[s] a small bias.
page 49 ... a few lines [of] our simple ...
page 55 equation 2.8 [but your equations are not numbered!]
page 59 Figure 2.17: The third filter matrix of applied to the image of Baikinman [malformed caption]
page 61 ... we weigh[t] ...
page 69 ... medi[c]al ...
page 69 ... it's an[d] old joke ...
page 77 ... pawns on the seventh resp. first [second?] rank.
page 89 ... our we hit our ...
pages 96, 206, 228 silicon[e]
page 125 Another real achievement ... [malformed sentence]
page 127 ... under[s]tand ...
page 132 ... exemplary[ly] ...
page 147 ... lilkely ...
page 150 ... Blacks or White's ...
page 159 ... only if ... [will] the new network ...
page 162 not "Expect maybe ..." but "Except maybe ..."
page 175 player[']s
page 176 cons[e]quently
page 191 pro[g]ramming
page 192 ... state of the art [of]
page 217 under[s]tand

And thank you very much for the book!

from neural_network_chess.

jkrabbenbos avatar jkrabbenbos commented on May 22, 2024 1

Page 12, 14 Hendrik's = Hendriks' (Willie's surname is Hendriks, see also https://grammar.yourdictionary.com/punctuation/apostrophe-rules.html for more info on the use of the apostrophe)
Page 12 Hendrik = Hendriks
In the bibliography the name is written correct!

page 18 HexapwanZero = HexapawnZero

Very interesting and informative book on the use of neural nets in Computer Chess.

from neural_network_chess.

d-kraft avatar d-kraft commented on May 22, 2024 1

page 71 line 3
instead of "the the"
write "take the"

from neural_network_chess.

d-kraft avatar d-kraft commented on May 22, 2024 1

page 62 last line of paragraph three
I would prefer a comma instead of a hyphen after tensorflow, or -- but worse -- a dash (two hyphens in LaTeX)

from neural_network_chess.

asdfjkl avatar asdfjkl commented on May 22, 2024 1

page 28: should be (0.95 − 0)^2 instead of (0.95 − 1)^2

from neural_network_chess.

asdfjkl avatar asdfjkl commented on May 22, 2024 1

page 30: E_global should be E_total.
bias w_0 is not mentioned
page 36: we conclude its the first person

from neural_network_chess.

asdfjkl avatar asdfjkl commented on May 22, 2024 1

page 79: of tactical threads. -> threats

from neural_network_chess.

asdfjkl avatar asdfjkl commented on May 22, 2024 1

page 97: If you do not implement chess knowledge in the implementation function -> evaluation function

from neural_network_chess.

asdfjkl avatar asdfjkl commented on May 22, 2024 1

page 99: 37.Be4 (space!)

from neural_network_chess.

asdfjkl avatar asdfjkl commented on May 22, 2024 1

p148 In contrary, the rather universal gradient policy rein-
forcement learning is used to improve the SL policy network

from neural_network_chess.

d-kraft avatar d-kraft commented on May 22, 2024 1

p. 65 par. 4 line 3

could be that

from neural_network_chess.

d-kraft avatar d-kraft commented on May 22, 2024 1

p. 69 4th line above bottom

common themes

from neural_network_chess.

d-kraft avatar d-kraft commented on May 22, 2024 1

p. 70 third line from bottom

all required network elements, there.

from neural_network_chess.

d-kraft avatar d-kraft commented on May 22, 2024 1

p. 73 par. 3 line 2

none instead of noone? am not sure

from neural_network_chess.

d-kraft avatar d-kraft commented on May 22, 2024 1

p. 96 line 2 and on many other places of the text

w.r.t. to
the to is redundant

from neural_network_chess.

AlexisNizard avatar AlexisNizard commented on May 22, 2024 1

p. 155 ,the two formulas that give 1.2 and 1.0 as the result use wrong values (not the values used in Figure 4.8).

The first formula should be 0.6 * (sqrt(1+1)/2) = 0.42 = 0.5+0.42 = 0.92
And second should be 0.7 * (sqrt(1+1)/2) = 0.4 + 0.49 = 0.89 ,according to the values in Figure 4.8.

0.92 is still greater than 0.89 so the reasoning doesn't change
Also, is it possible to send you an email ? I would like to ask you a question about the subject (if you don't mind) but I don't know how to contact you.

from neural_network_chess.

jbscj avatar jbscj commented on May 22, 2024 1

P204 & P205
Formula 4.1 & Formula 4.2: It seems that the subscripts and superscripts of the terms in the first column should be swapped for consistency
P206 has 3 additional formulae within the text with the above problem
P207 & P208 has formulae 4.3 and 4.4 with the above problem
P209 b1 -> b_1

from neural_network_chess.

shindavid avatar shindavid commented on May 22, 2024 1

Everywhere else, as far as I can tell, the "E" in the acronym NNUE stands for the word "efficiently" (example). But in this book, the word "effectively" is used.

from neural_network_chess.

asdfjkl avatar asdfjkl commented on May 22, 2024 1

page 185, "will be": "These games will naturally of very poor quality initially and it wi"

from neural_network_chess.

asdfjkl avatar asdfjkl commented on May 22, 2024 1

p185: ... rethink it ... instead of ... summarize what they investigated and re-think of it

from neural_network_chess.

asdfjkl avatar asdfjkl commented on May 22, 2024 1

p 189 "a" missing: t FatFritz is just
Leela Chess Zero with the network trained in different way.

from neural_network_chess.

asdfjkl avatar asdfjkl commented on May 22, 2024 1

p 82: clarify that black does not win when reaching the lowest rank, we only consider the outcomes white wins or black blocks white (white gets 10 if he has a forced path to the third rank)

from neural_network_chess.

MSoszynski avatar MSoszynski commented on May 22, 2024 1

p9

Original: "It’s one thing to look in awe and admire the game changer AlphaZero, but it’s another one to figure out how AlphaZero and similar engines work and get a better understanding what they are capable of."

Better: "It’s one thing to look in awe and admire the game changer AlphaZero, it’s another thing to figure out how AlphaZero and similar engines work and get a better understanding of what they are capable."

from neural_network_chess.

scottmcm avatar scottmcm commented on May 22, 2024 1

v1.5, p37

Indeed, if the network becomes moor accurate, our loss decreases.

should be "more accurate".

from neural_network_chess.

asdfjkl avatar asdfjkl commented on May 22, 2024 1

p205... have think carefully should be have to think carefully

from neural_network_chess.

asdfjkl avatar asdfjkl commented on May 22, 2024 1

p204 ... on rather low-end office computer -> on a rather ...

from neural_network_chess.

asdfjkl avatar asdfjkl commented on May 22, 2024 1

p216: cite official-stockfish/Stockfish#2916

from neural_network_chess.

asdfjkl avatar asdfjkl commented on May 22, 2024 1

p232: Hexapawn is a solved game,

from neural_network_chess.

asdfjkl avatar asdfjkl commented on May 22, 2024 1

p219: the difference
is “only” 1.5 centipawns -> should be 1.5 pawns

from neural_network_chess.

rodinhart avatar rodinhart commented on May 22, 2024 1

Excellent book!

found in version 1.5:

page 24: I think it should be: w_0 = -10

page 31: I think the general rule of thumb for updating weights needs index i for the denominator:
w_i^' = w_i = \nu dE_total / dw_i

from neural_network_chess.

asdfjkl avatar asdfjkl commented on May 22, 2024 1

p8: DeepBlue should be Deep Blue

from neural_network_chess.

octopus-prime avatar octopus-prime commented on May 22, 2024 1

First of all: GREAT STUFF! Thank you very much!!

What about page 198 "enemy king on e8, own knight on c3 from 1 to 0" ?!

I am not sure, but

  • before move -> there was no piece on c3
  • after move -> the black king should see the white kinght on c3 too

So i would expect "enemy king on e8, own knight on c3 from 0 to 1"

Same for "own king on e8, enemy knight on c3 from 1 to 0" ?!

from neural_network_chess.

MetriC-DT avatar MetriC-DT commented on May 22, 2024 1

Thanks for this great resource! Went through Ch. 2 (Back-Propagation and Gradient Descent), and I think there might be an issue with the partial derivatives (p. 30)

It should be (for $j = 1, 2$ in the example and $N = 2$):

$$ \frac{\partial E}{\partial w_j} = \sum_{i=1}^{N}\frac{\partial E}{\partial \text{out}_i} \cdot \frac{\partial \text{out}_i}{\partial \text{net}_i} \cdot \frac{\partial \text{net}_i}{\partial w_j} $$

The corresponding calculations might need to be re-worked as well.

from neural_network_chess.

asdfjkl avatar asdfjkl commented on May 22, 2024 1

p62: There is one large and deep neural neural network. (neural twice)

from neural_network_chess.

asdfjkl avatar asdfjkl commented on May 22, 2024 1

p172:formatting of nxf6 in bullet point (should use \mathrm)

from neural_network_chess.

asdfjkl avatar asdfjkl commented on May 22, 2024 1

Figure 4.12: "convolution" on the left: font is too small

from neural_network_chess.

asdfjkl avatar asdfjkl commented on May 22, 2024

[DONE] page 54: Figure 2.15: Baikinman, appylied sobel operator and thresholding -> applied

from neural_network_chess.

asdfjkl avatar asdfjkl commented on May 22, 2024

[DONE] page 219: Figure 4.23: White to move. There is no reasonable alternative to Bb3 that any
chessplayer would play.. (double colon at the end)

from neural_network_chess.

asdfjkl avatar asdfjkl commented on May 22, 2024

(all fixed in v1.2)

from neural_network_chess.

asdfjkl avatar asdfjkl commented on May 22, 2024

page 256: instead we desire to select the index 0 only in about 10 percent of
all cases, index 0 in about 20 percent of all cases and index 2 in about 70 percent
of all cases

should read: index 0, ... index 1, ... index 2

from neural_network_chess.

asdfjkl avatar asdfjkl commented on May 22, 2024

page 262: it’s that alpha-beta searcher[s]! will prevail
for chess.
help
humans becoming better chess players. -> become better...

from neural_network_chess.

asdfjkl avatar asdfjkl commented on May 22, 2024

(all fixed in v1.3)

from neural_network_chess.

asdfjkl avatar asdfjkl commented on May 22, 2024

(all fixed up to here), #todo: release new pdf
@AlexisNizard : thx for spotting this. As for contact: I've added e-mail information in github
@d-kraft: thanks for your careful reading!

from neural_network_chess.

asdfjkl avatar asdfjkl commented on May 22, 2024

(all fixed in v1.5)

from neural_network_chess.

asdfjkl avatar asdfjkl commented on May 22, 2024

(all fixed in version 1.6)

from neural_network_chess.

MrOlegus avatar MrOlegus commented on May 22, 2024

Page 118. In the formula, Vi must be at the bottom and Vparent at the top. Is not it?

from neural_network_chess.

cakiki avatar cakiki commented on May 22, 2024

Page 198:

"No book about computers is complete with really bad car analogies."

This should rather read: without really bad car analogies

from neural_network_chess.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.