How do you train Agent for something like Chess or Game of the Generals?
Machine Learning in chess
How would I go about making a chess engine using NN..
Training an AI chess model- Dataset with list of FEN boards?
Videos
I was thinking of doing an environment and some testing of RL methods on a game called Game of Generals using OpenAI Gym. But my biggest question is training the agent.
To train it, my intuition is that I need tons of replays of the game being played encoded into something that can be digested by the code, right?
How do you train something like chess or Game of the Generals on its own? Is it possible?
I'm very new to neural networks and machine learning in general has managed to make one from scratch that teaches an agent ot figure out the direction up to its food (it sort of works).. I then had this question in mind on how a chess engine can be made using a neural network.. One opinion I got was to calculate all the possible moves in a given board state and simulate each game based on a rank output by the network. This sounded computationally expensive and another method I found is to feed in many real world chess game data in some sort of notation or format. This could be a specific board state followed by a change and the neural network might use things like gradient descent to adjust weights and biases based on many board states in many chess matches. This is my depiction of making a chess engine and I know it could be wrong so (please correct me) and yeah, I'm just exploring this realm and has been a question I liked to ask about..
Hello! I'm trying to create and train an AI model for a class im taking. I've been reading online and FENs seem to be the best way for me to read in a chess board. Whats the best place for me to find a dataset of FEN boards?
Also, what's the best way for me to convert that to a matrix interpretable to a ML model? Is just putting each piece in it's respective position on an 8x8 matrix sufficient? Thank you!!