Machine Learning Recruiter

From The Battle for Wesnoth Wiki
Revision as of 06:03, 31 July 2012 by SeattleDad (talk | contribs) (Testing the ML Recruiter in batch mode)

This page documents the new machine learning recruiter submitted as a patch for Wesnoth 1.11

Using ML Recruiter

Playing against the ML Recruiter

Testing the ML Recruiter in batch mode

Testing in batch mode is easy. After applying the ML Recruiter patch, copy utils/ai_test/ai_test2.cfg to the directory in which you want to run the experiment. Then edit the first line of the .cfg file, "path_to_wesnoth_binary" to point to your Wesnoth executable. Then adjust faction1 and faction2 to point to the factions you want to experiment with and point ai_config1 at the ML configuration file you want to try out. Finally, to make everything easier, add the following to your path:

[Wesnoth_Install]/utils/ai_test/

Now you can test Wesnoth in batch as follows:

ai_test2.py ai_test2.cfg

Experiments: ML Recruiter vs. RCA AI Recruiter

How the ML Recruiter works

Retraining the ML Recruiter

Known issues

ML Recruiter development roadmap