Leela Chess Zero how large is the probability vector in the output layer

0 votes
Recently, Alpha Zero and Leela Chess Zero are based on the idea that a given chess position s can be given both an evaluation number, as well as a probability vector for the next move. This number and vector are the output neurons of a CNN. My question is: given that different chess positions s and s' have a different amount of legal chess moves, how is this probability vector structured if it doesn't have a fixed size?
Mar 5, 2022 in Machine Learning by Dev
• 6,000 points
668 views

1 answer to this question.

0 votes
The next move's probability vector (called the policy) is dependent on the entire number of possible moves from each chess situation, which is a fixed quantity. AlphaZero had 4672 potential moves (as mentioned on page 13 of the paper), while Leela Chess Zero has roughly 1800. (you can see them all listed in the bitboard.cc code).
answered Mar 9, 2022 by Nandini
• 5,480 points

Related Questions In Machine Learning

0 votes
1 answer

What is the process involved in machine Learning?

Discussing this on a high level, these ...READ MORE

answered May 10, 2019 in Machine Learning by Rhea
1,508 views
+1 vote
1 answer

​In ANN how the weight gets selected by the model INITIALLY?

Hi@Nandini, When you add your NN layer, it ...READ MORE

answered May 9, 2020 in Machine Learning by MD
• 95,460 points
717 views
0 votes
1 answer

How to import the BatchNormalization function in Keras?

Hi@akhtar, The general use case is to use ...READ MORE

answered Jul 29, 2020 in Machine Learning by MD
• 95,460 points
3,641 views
0 votes
1 answer
0 votes
1 answer

tf.reshape vs tf.contrib.layers.flatten

All 3 options reshape identically: import tensorflow as ...READ MORE

answered Oct 10, 2018 in Python by Priyaj
• 58,020 points
2,662 views
0 votes
1 answer

What is Depth of a convolutional neural network?

The depth of a Deep Neural Network ...READ MORE

answered Mar 25, 2022 in Machine Learning by Nandini
• 5,480 points
1,574 views
0 votes
1 answer
0 votes
1 answer

Calculate the probability in R for sum of two dice rolls

By converting the outer values to a ...READ MORE

answered Apr 4, 2022 in Machine Learning by Nandini
• 5,480 points
2,082 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP