Using the negamax function with Machine Learning

Hello everyone, Thank you for this very good dataset. I’ve been playing with it so far and achieved some first good results for my predictions. I’m trying to build an AI that could play chess using them. To do this, I try to use a negamax function and the python chess library. So far, I think it works but it’s pretty slow. The main reason seems that doing negamax recursively makes a lot of calls to the machine learning model function. It takes around 1 min to calculate with a depth of 3 moves, and I couldn’t test with an higher depth. My code so far (Python 3) using the library chess : clf : the model (random forest using sklearn) expand_calculus : transform a list of “FEN” data to…


Link to Full Article: Using the negamax function with Machine Learning

Pin It on Pinterest

Share This

Join Our Newsletter

Sign up to our mailing list to receive the latest news and updates about homeAI.info and the Informed.AI Network of AI related websites which includes Events.AI, Neurons.AI, Awards.AI, and Vocation.AI

You have Successfully Subscribed!