Club Chat

Sort:
Avatar of DillWithThePickle

Stockfish uses it too? 2100 elo gap is hard to imagine at high-rating chess

Could you explain simplistically what a neuron is?

Avatar of eboatwright

Yeah, Stockfish was the pioneer of using NNUE in Chess engines

The simplest way to describe a neuron, is a function. It takes in inputs, does some math with them, and outputs a number. Although, the math is much simpler than you might think!

Here's a very simple visualization of a neural network

Each circle represents a neuron, the gray boxes are a layer, and the dashed lines are a "weight" (or "connection"). A weight is represented by a number, which can be positive or negative, and is basically how much effect one neuron has on the next.

The neuron also has what's known as an "activation function" which is basically another math function, which takes in one input (the sum of all the inputs * the corresponding weights), and outputs one output. The activation function used in Maxwell, and alot of other engines, is called ReLU and looks like this:

If Input < 0 then Output = 0

otherwise Output = Input

So let's say I1=0.5, and the weight going from I1 to H1 is -0.2. To calculate the output for H1 would be: ReLU(0.5 * -0.2) -> ReLU(-0.1) and since the input is negative, ReLU will output 0.

So then for H2, we'll say the weight connecting it to I1 is 1.2. Then you get: ReLU(0.5 * 1.2) -> ReLU(0.6) -> 0.6

So now you go to the output layer, which is a little more complicated because there's more than one input neuron (there's 2, because we're moving from hidden to output) so I'll just calculate the top neuron. We'll say the weight from H1 to O1 is -0.9, and H2 to O1 is 0.3.

First you multiply the inputs by the corresponding weights, then you get the sum, and feed that into the activation function. So you get: ReLU(0 * -0.9 + 0.6 * 0.3) -> ReLU(0 + 0.18) -> ReLU(0.18) -> 0.18. So O1 is 0.18!

That was probably a little more than you asked for, but you can't really explain a neuron without explaining a whole network haha

Avatar of DillWithThePickle

Ok, I kind of get it

Avatar of eboatwright

Yeah, the networks themselves aren't too hard to understand, but it's the training that's the really hard part

Avatar of DillWithThePickle

Belted Kingfisher! Cool pfp!

Avatar of eboatwright

Thanks! I saw this picture and couldn't resist hahaha

Probably one of, if not my favorite bird grin.png

Avatar of DillWithThePickle

They're just such cool birds, always a pleasure to see in the field.

Avatar of eboatwright

I haven't seen one IRL that I know of, but I love their color

Avatar of DillWithThePickle

I see. They aren't the most common of birds

Avatar of eboatwright

I've been looking through some opening theory for once, and I found this line in the Scotch lol

(White is already winning after Bg5)

Avatar of DillWithThePickle
eboatwright wrote:

I've been looking through some opening theory for once, and I found this line in the Scotch lol

(White is already winning after Bg5)

Wow!

Avatar of eboatwright
DillWithThePickle wrote:
eboatwright wrote:

I've been looking through some opening theory for once, and I found this line in the Scotch lol

(White is already winning after Bg5)

Wow!

Yeah!

Avatar of roro-is-me

I'm LOVING the kingfisher @eboatwright!

Avatar of eboatwright
Siiiiiiike wrote:

I'm LOVING the kingfisher @eboatwright!

Hahaha thanks! It's so cuute; I love when birds fluff up like that :>

Avatar of eboatwright

How's everybody's Chess playing going?

I've decided now's the time I'm going to push for 1800, I made an account on Chessable and got some free courses for d4 d5, and e4 e5, and I'm going to try to learn to play conservatively, which is the tip I hear everybody saying to get to 2000, basically meaning play simple and solid, and wait for your time to strike

Avatar of roro-is-me

unfortunately I have not been playing very much. I tried to push for a new peak hopefully past 1200 by playing 5min but I lost a few and quit. I'm really busy with school but hopefully I can find the time and brainpower to try harder.

Avatar of eboatwright

Yeah that's been me lately, I played the first blitz I've played in a while, went from 1610 to 1450 lol

So now I'm taking a step back, studying, and grinding puzzles again

Avatar of DillWithThePickle

Happy to hear you're pushing for 1800 eboat, good luck! I haven't played much lately because school is a grind, but I have plenty of daily games going on. Playing Vienna and trying out the French Defense a bit.

Avatar of eboatwright
DillWithThePickle wrote:

Happy to hear you're pushing for 1800 eboat, good luck! I haven't played much lately because school is a grind, but I have plenty of daily games going on. Playing Vienna and trying out the French Defense a bit.

Thanks! Good luck to you as well

Avatar of eboatwright

Finally made it to the legends league!