Difference between revisions of "Machine Learning Recruiter"
From The Battle for Wesnoth Wiki
SeattleDad (talk | contribs) (→Testing the ML Recruiter in batch mode) |
SeattleDad (talk | contribs) (→Testing the ML Recruiter in batch mode) |
||
Line 5: | Line 5: | ||
===Testing the ML Recruiter in batch mode=== | ===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. | + | 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/ | ||
==Experiments: ML Recruiter vs. RCA AI Recruiter== | ==Experiments: ML Recruiter vs. RCA AI Recruiter== |
Revision as of 06:00, 31 July 2012
This page documents the new machine learning recruiter submitted as a patch for Wesnoth 1.11
Contents
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/