Free cookie consent management tool by TermsFeed Policy Generator

Changeset 13708


Ignore:
Timestamp:
03/15/16 17:39:25 (8 years ago)
Author:
gkronber
Message:

#2581: removed TestMethod attribute from unit tests using randomly sampled data because of a problem in the regression problem instances

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Tests/HeuristicLab.Algorithms.DataAnalysis-3.4/MctsSymbolicRegressionTest.cs

    r13661 r13708  
    277277
    278278    #region Nguyen
    279     [TestMethod]
     279    // [TestMethod]
    280280    [TestCategory("Algorithms.DataAnalysis")]
    281281    [TestProperty("Time", "short")]
     
    285285      TestMcts(regProblem);
    286286    }
    287     [TestMethod]
     287    // [TestMethod]
    288288    [TestCategory("Algorithms.DataAnalysis")]
    289289    [TestProperty("Time", "short")]
     
    293293      TestMcts(regProblem);
    294294    }
    295     [TestMethod]
     295    // [TestMethod]
    296296    [TestCategory("Algorithms.DataAnalysis")]
    297297    [TestProperty("Time", "short")]
     
    301301      TestMcts(regProblem, successThreshold: 0.99);
    302302    }
    303     [TestMethod]
     303    // [TestMethod]
    304304    [TestCategory("Algorithms.DataAnalysis")]
    305305    [TestProperty("Time", "short")]
     
    309309      TestMcts(regProblem);
    310310    }
    311     [TestMethod]
     311    // [TestMethod]
    312312    [TestCategory("Algorithms.DataAnalysis")]
    313313    [TestProperty("Time", "short")]
     
    317317      TestMcts(regProblem);
    318318    }
    319     [TestMethod]
     319    // [TestMethod]
    320320    [TestCategory("Algorithms.DataAnalysis")]
    321321    [TestProperty("Time", "short")]
     
    325325      TestMcts(regProblem);
    326326    }
    327     [TestMethod]
     327    // [TestMethod]
    328328    [TestCategory("Algorithms.DataAnalysis")]
    329329    [TestProperty("Time", "short")]
     
    333333      TestMcts(regProblem);
    334334    }
    335     [TestMethod]
     335    // [TestMethod]
    336336    [TestCategory("Algorithms.DataAnalysis")]
    337337    [TestProperty("Time", "short")]
     
    341341      TestMcts(regProblem, successThreshold: 0.99);
    342342    }
    343     [TestMethod]
     343    // [TestMethod]
    344344    [TestCategory("Algorithms.DataAnalysis")]
    345345    [TestProperty("Time", "short")]
     
    349349      TestMcts(regProblem, iterations: 10000);
    350350    }
    351     [TestMethod]
     351    // [TestMethod]
    352352    [TestCategory("Algorithms.DataAnalysis")]
    353353    [TestProperty("Time", "short")]
     
    357357      TestMcts(regProblem);
    358358    }
    359     [TestMethod]
     359    // [TestMethod]
    360360    [TestCategory("Algorithms.DataAnalysis")]
    361361    [TestProperty("Time", "short")]
     
    365365      TestMcts(regProblem, 10000, 0.95); // cannot solve exactly in 10000 iterations
    366366    }
    367     [TestMethod]
     367    // [TestMethod]
    368368    [TestCategory("Algorithms.DataAnalysis")]
    369369    [TestProperty("Time", "short")]
     
    377377
    378378    #region keijzer
    379     [TestMethod]
     379    // [TestMethod]
    380380    [TestCategory("Algorithms.DataAnalysis")]
    381381    [TestProperty("Time", "long")]
     
    388388    }
    389389
    390     [TestMethod]
     390    // [TestMethod]
    391391    [TestCategory("Algorithms.DataAnalysis")]
    392392    [TestProperty("Time", "short")]
     
    400400    }
    401401
     402    // [TestMethod]
     403    [TestCategory("Algorithms.DataAnalysis")]
     404    [TestProperty("Time", "short")]
     405    public void MctsSymbRegBenchmarkKeijzer7() {
     406      var provider = new HeuristicLab.Problems.Instances.DataAnalysis.KeijzerInstanceProvider();
     407      var regProblem = provider.LoadData(provider.GetDataDescriptors().Single(x => x.Name.Contains("Keijzer 7 f(")));
     408      // some Keijzer problem instances have very large test partitions (here we are not concerened about test performance)
     409      if (regProblem.TestPartition.End - regProblem.TestPartition.Start > 1000) regProblem.TestPartition.End = regProblem.TestPartition.Start + 1000;
     410      TestMcts(regProblem);
     411    }
     412
    402413    [TestMethod]
    403     [TestCategory("Algorithms.DataAnalysis")]
    404     [TestProperty("Time", "short")]
    405     public void MctsSymbRegBenchmarkKeijzer7() {
    406       var provider = new HeuristicLab.Problems.Instances.DataAnalysis.KeijzerInstanceProvider();
    407       var regProblem = provider.LoadData(provider.GetDataDescriptors().Single(x => x.Name.Contains("Keijzer 7 f(")));
     414    // [TestCategory("Algorithms.DataAnalysis")]
     415    [TestProperty("Time", "short")]
     416    public void MctsSymbRegBenchmarkKeijzer8() {
     417      var provider = new HeuristicLab.Problems.Instances.DataAnalysis.KeijzerInstanceProvider();
     418      var regProblem = provider.LoadData(provider.GetDataDescriptors().Single(x => x.Name.Contains("Keijzer 8 f(")));
    408419      // some Keijzer problem instances have very large test partitions (here we are not concerened about test performance)
    409420      if (regProblem.TestPartition.End - regProblem.TestPartition.Start > 1000) regProblem.TestPartition.End = regProblem.TestPartition.Start + 1000;
     
    412423
    413424    [TestMethod]
    414     [TestCategory("Algorithms.DataAnalysis")]
    415     [TestProperty("Time", "short")]
    416     public void MctsSymbRegBenchmarkKeijzer8() {
    417       var provider = new HeuristicLab.Problems.Instances.DataAnalysis.KeijzerInstanceProvider();
    418       var regProblem = provider.LoadData(provider.GetDataDescriptors().Single(x => x.Name.Contains("Keijzer 8 f(")));
    419       // some Keijzer problem instances have very large test partitions (here we are not concerened about test performance)
    420       if (regProblem.TestPartition.End - regProblem.TestPartition.Start > 1000) regProblem.TestPartition.End = regProblem.TestPartition.Start + 1000;
    421       TestMcts(regProblem);
    422     }
    423 
    424     [TestMethod]
    425     [TestCategory("Algorithms.DataAnalysis")]
     425    // [TestCategory("Algorithms.DataAnalysis")]
    426426    [TestProperty("Time", "short")]
    427427    public void MctsSymbRegBenchmarkKeijzer9() {
     
    460460    }
    461461     */
    462     [TestMethod]
     462    // [TestMethod]
    463463    [TestCategory("Algorithms.DataAnalysis")]
    464464    [TestProperty("Time", "short")]
     
    471471      TestMcts(regProblem, iterations: 10000, allowLog: false, allowExp: false, allowInv: false, successThreshold: 0.99); // cannot solve exactly in 10000 iterations
    472472    }
    473     [TestMethod]
     473    // [TestMethod]
    474474    [TestCategory("Algorithms.DataAnalysis")]
    475475    [TestProperty("Time", "short")]
     
    481481      TestMcts(regProblem);
    482482    }
    483     [TestMethod]
     483    // [TestMethod]
    484484    [TestCategory("Algorithms.DataAnalysis")]
    485485    [TestProperty("Time", "short")]
Note: See TracChangeset for help on using the changeset viewer.