Changeset 11801


Ignore:
Timestamp:
01/20/15 13:00:50 (3 years ago)
Author:
gkronber
Message:

#2283 comment and new test runs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Problems.GrammaticalOptimization/Main/Program.cs

    r11799 r11801  
    2424      CultureInfo.DefaultThreadCurrentCulture = CultureInfo.InvariantCulture;
    2525
    26       RunDemo();
    27       //RunGridTest();
     26      //RunDemo();
     27      RunGridTest();
    2828    }
    2929
     
    5353         () => new EpsGreedyPolicy(0.2),
    5454         () => new EpsGreedyPolicy(0.5),
     55         () => new UCTPolicy(0.01),
     56         () => new UCTPolicy(0.05),
    5557         () => new UCTPolicy(0.1),
    5658         () => new UCTPolicy(0.5),
     
    98100      var instanceFactories = new Func<Random, Tuple<IProblem, int>>[]
    99101      {
    100         (rand) => Tuple.Create((IProblem)new SantaFeAntProblem(), 17),
     102        //(rand) => Tuple.Create((IProblem)new SantaFeAntProblem(), 17),
    101103        (rand) => Tuple.Create((IProblem)new FindPhrasesProblem(rand, 10, numPhrases:5, phraseLen:3, numOptimalPhrases:5, numDecoyPhrases:0, correctReward:1, decoyReward:0, phrasesAsSets:false ), 15),
    102104        (rand) => Tuple.Create((IProblem)new FindPhrasesProblem(rand, 10, numPhrases:5, phraseLen:3, numOptimalPhrases:5, numDecoyPhrases:0, correctReward:1, decoyReward:0, phrasesAsSets:true ), 15),
    103105        (rand) => Tuple.Create((IProblem)new FindPhrasesProblem(rand, 10, numPhrases:5, phraseLen:3, numOptimalPhrases:5, numDecoyPhrases:200, correctReward:1, decoyReward:0.5, phrasesAsSets:false), 15),
    104106        (rand) => Tuple.Create((IProblem)new FindPhrasesProblem(rand, 10, numPhrases:5, phraseLen:3, numOptimalPhrases:5, numDecoyPhrases:200, correctReward:1, decoyReward:0.5, phrasesAsSets:true), 15),
    105         (rand) => Tuple.Create((IProblem)new SymbolicRegressionPoly10Problem(), 23)
     107        //(rand) => Tuple.Create((IProblem)new SymbolicRegressionPoly10Problem(), 23)
    106108      };
    107109
    108110      foreach (var instanceFactory in instanceFactories) {
    109         foreach (var useCanonical in new bool[] { true, false }) {
    110           foreach (var randomTries in new int[] { 0, 1, 10, /* 5, 100 /*, 500, 1000 */}) {
     111        foreach (var useCanonical in new bool[] { true /*, false */ }) {
     112          foreach (var randomTries in new int[] { 0, /* 1, 10, /* 5, 100 /*, 500, 1000 */}) {
    111113            foreach (var policyFactory in policyFactories) {
    112114              var myRandomTries = randomTries;
     
    204206      // - EpsGreedyPolicy(0.20,max)
    205207      // - GenericThompsonSamplingPolicy("")
    206       // - UCTPolicy(0.10) (5 of 5 runs, 35000 iters avg.)
     208      // - UCTPolicy(0.10) (5 of 5 runs, 35000 iters avg.), 10 successful runs of 10 with rand-tries 0, bei 40000 iters 9 / 10, bei 30000 1 / 10
    207209
    208210      // good results for artificial ant:
Note: See TracChangeset for help on using the changeset viewer.