Difference between revisions of "Machine Learning Recruiter"

From The Battle for Wesnoth Wiki
(Testing the ML Recruiter in batch mode)
(Testing the ML Recruiter in batch mode)
Line 7: Line 7:
 
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:
 
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/
 
  [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==
 
==Experiments:  ML Recruiter vs. RCA AI Recruiter==

Revision as of 06:03, 31 July 2012

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