yichen914 / MyAlphaGoZeroOnConnect4

My Simple Implementation of AlphaGo Zero on Connect4
18 stars 4 forks source link

Question about MCTS #4

Open MorelT98 opened 5 years ago

MorelT98 commented 5 years ago

First, great implementation, this really helped me understand how AlphaGo Zero works, and I’ve used it for other games as well. There’s is still one thing I couldn’t understand though. Why do you return -v instead of v when you do the Monte Carlo tree search?

yichen914 commented 5 years ago

I think that's because it is v to the current player but it's -v to the opposite.