hello, I made an AI vs Human noughts and crosses. In order for the AI to perform well, I use reinforcement learning with supervised classification. I have implemented all the methods but I continually have errors because of the convert_plateau and ia_jeu functions. The problem comes from one of these two functions or two because I probably forgot things or made mistakes. Can someone check my code and tell me what's wrong?
#IA morpion
11 messages · Page 1 of 1 (latest)
It would be great if you could post some code (ie the functions), the expected arguments and outputs (type, shape, etc) as well as the full error message you are seeing so we have more context to help you.
you can test by compiling and running the project. The problem is that I can't get the code to work because there is always an error. I try to correct the problem but it always adds another one. I know, it's not very precise but I'm a little desperate, I can't get the code to work. I also specify that I am a novice so there will surely be things that are not very optimal but you have to start somewhere.
This is what the program should output:
Decision tree :
RandomForest:
Multi-Layer Perceptron:
In theory it is the model based on the decision tree which will be the most effective but I have implemented the three to test
If more details are needed on the different methods of the class, let me know
here is my project: