- Timestamp:
- 12/05/11 17:03:49 (13 years ago)
- Location:
- branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4
- Files:
-
- 58 added
- 2 deleted
- 48 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/Benchmark.cs
r7025 r7127 20 20 #endregion 21 21 22 using System.IO; 23 using System.Linq; 24 using System.Reflection; 22 25 using HeuristicLab.Common; 23 26 using HeuristicLab.Core; … … 33 36 throw new System.NotImplementedException(); 34 37 } 38 39 #region Helpers 40 protected static TableFileParser getParserForFile(string fileName) { 41 Assembly assembly = Assembly.GetExecutingAssembly(); 42 string file = assembly.GetManifestResourceNames().Where(x => x.EndsWith(fileName)).First(); 43 44 string path = Path.GetTempFileName(); 45 46 using (Stream stream = assembly.GetManifestResourceStream(file)) { 47 WriteStreamToTempFile(stream, path); 48 } 49 50 TableFileParser csvFileParser = new TableFileParser(); 51 csvFileParser.Parse(path); 52 53 return csvFileParser; 54 } 55 56 private static void WriteStreamToTempFile(Stream stream, string path) { 57 using (FileStream output = new FileStream(path, FileMode.Create, FileAccess.Write)) { 58 int cnt = 0; 59 byte[] buffer = new byte[32 * 1024]; 60 while ((cnt = stream.Read(buffer, 0, buffer.Length)) != 0) 61 output.Write(buffer, 0, cnt); 62 } 63 } 64 #endregion 35 65 } 36 66 } -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/HeuristicLab.Problems.DataAnalysis.Benchmarks-3.4.csproj
r7096 r7127 49 49 <ItemGroup> 50 50 <Compile Include="Benchmark.cs" /> 51 <Compile Include="Generator\RegressionRealWorldBenchmark.cs" /> 52 <Compile Include="Generator\RegressionToyBenchmark.cs" /> 51 <Compile Include="ClassificationBenchmark\RealWorldProblems\Iris.cs" /> 52 <Compile Include="ClassificationBenchmark\RealWorldProblems\Mammography.cs" /> 53 <Compile Include="RegressionBenchmarks\Other\BreimanOne.cs" /> 54 <Compile Include="ClassificationGenerator\ClassificationBenchmark.cs" /> 55 <Compile Include="ClassificationGenerator\ClassificationRealWorldBenchmark.cs" /> 56 <Compile Include="ClassificationGenerator\ClassificationToyBenchmark.cs" /> 57 <Compile Include="RegressionBenchmarks\Trent McConaghy\HighVoltrefPWR.cs" /> 58 <Compile Include="RegressionBenchmarks\Trent McConaghy\HighVoltrefDVREF.cs" /> 59 <Compile Include="RegressionBenchmarks\Trent McConaghy\HighSenseampPwr.cs" /> 60 <Compile Include="RegressionBenchmarks\Trent McConaghy\HighSenseampDelay.cs" /> 61 <Compile Include="RegressionBenchmarks\Trent McConaghy\HighOpampSR.cs" /> 62 <Compile Include="RegressionBenchmarks\Trent McConaghy\HighOpampPM.cs" /> 63 <Compile Include="RegressionBenchmarks\Trent McConaghy\HighOpampBW.cs" /> 64 <Compile Include="RegressionBenchmarks\Trent McConaghy\HighOpampAV.cs" /> 65 <Compile Include="RegressionBenchmarks\Trent McConaghy\HighGmcIL.cs" /> 66 <Compile Include="RegressionBenchmarks\Trent McConaghy\HighGmcATTEN.cs" /> 67 <Compile Include="RegressionBenchmarks\Trent McConaghy\HighComparBw.cs" /> 68 <Compile Include="RegressionBenchmarks\Trent McConaghy\HighBitcellCellI.cs" /> 69 <Compile Include="RegressionBenchmarks\Trent McConaghy\MediumSrp.cs" /> 70 <Compile Include="RegressionBenchmarks\Trent McConaghy\MediumSrn.cs" /> 71 <Compile Include="RegressionBenchmarks\Trent McConaghy\MediumPm.cs" /> 72 <Compile Include="RegressionBenchmarks\Trent McConaghy\MediumOffsetn.cs" /> 73 <Compile Include="RegressionBenchmarks\Trent McConaghy\MediumLogfu.cs" /> 74 <Compile Include="RegressionBenchmarks\Trent McConaghy\MediumLfgain.cs" /> 75 <Compile Include="RegressionGenerator\RegressionRealWorldBenchmark.cs" /> 76 <Compile Include="RegressionGenerator\RegressionToyBenchmark.cs" /> 53 77 <Compile Include="Plugin.cs" /> 54 78 <Compile Include="Properties\AssemblyInfo.cs" /> … … 158 182 <SubType>Code</SubType> 159 183 </Compile> 160 <Compile Include="RegressionBenchmarks\Poli\PloyTen.cs" /> 184 <Compile Include="RegressionBenchmarks\Other\SpatialCoevolution.cs" /> 185 <Compile Include="RegressionBenchmarks\Other\PloyTen.cs" /> 161 186 <Compile Include="RegressionBenchmarks\RealWorldProblems\ChemicalOne.cs" /> 162 187 <Compile Include="RegressionBenchmarks\RealWorldProblems\Housing.cs" /> 163 188 <Compile Include="RegressionBenchmarks\RealWorldProblems\TowerProblem.cs" /> 164 <Compile Include=" Generator\RegressionBenchmark.cs" />189 <Compile Include="RegressionGenerator\RegressionBenchmark.cs" /> 165 190 <Compile Include="RegressionBenchmarks\Vladislavleva\KotanchekFunction.cs"> 166 191 <SubType>Code</SubType> … … 223 248 </ItemGroup> 224 249 <ItemGroup> 250 <EmbeddedResource Include="ClassificationBenchmark\RealWorldProblems\files\iris.data" /> 251 <EmbeddedResource Include="ClassificationBenchmark\RealWorldProblems\files\mammography.csv" /> 225 252 <None Include="HeuristicLab.snk" /> 226 253 <None Include="Plugin.cs.frame" /> … … 228 255 <EmbeddedResource Include="RegressionBenchmarks\RealWorldProblems\files\chemical-I.csv" /> 229 256 <EmbeddedResource Include="RegressionBenchmarks\RealWorldProblems\files\housing.csv" /> 230 </ItemGroup> 231 <ItemGroup /> 257 <EmbeddedResource Include="RegressionBenchmarks\Trent McConaghy\high\bitcell_cell_i.csv" /> 258 <EmbeddedResource Include="RegressionBenchmarks\Trent McConaghy\high\compar_bw.csv" /> 259 <EmbeddedResource Include="RegressionBenchmarks\Trent McConaghy\high\opamp_AV.csv" /> 260 <EmbeddedResource Include="RegressionBenchmarks\Trent McConaghy\high\opamp_BW.csv" /> 261 <EmbeddedResource Include="RegressionBenchmarks\Trent McConaghy\high\opamp_PM.csv" /> 262 <EmbeddedResource Include="RegressionBenchmarks\Trent McConaghy\high\opamp_SR.csv" /> 263 <EmbeddedResource Include="RegressionBenchmarks\Trent McConaghy\high\senseamp_delay.csv" /> 264 <EmbeddedResource Include="RegressionBenchmarks\Trent McConaghy\high\senseamp_pwr.csv" /> 265 <EmbeddedResource Include="RegressionBenchmarks\Trent McConaghy\high\voltref_DVREF.csv" /> 266 <EmbeddedResource Include="RegressionBenchmarks\Trent McConaghy\high\voltref_PWR.csv" /> 267 <EmbeddedResource Include="RegressionBenchmarks\Trent McConaghy\high\gmc_ATTEN.csv" /> 268 <EmbeddedResource Include="RegressionBenchmarks\Trent McConaghy\high\gmc_IL.csv" /> 269 </ItemGroup> 270 <ItemGroup> 271 <EmbeddedResource Include="RegressionBenchmarks\Trent McConaghy\medium\lfgain.txt" /> 272 <EmbeddedResource Include="RegressionBenchmarks\Trent McConaghy\medium\logfu.txt" /> 273 <EmbeddedResource Include="RegressionBenchmarks\Trent McConaghy\medium\offsetn.txt" /> 274 <EmbeddedResource Include="RegressionBenchmarks\Trent McConaghy\medium\pm.txt" /> 275 <EmbeddedResource Include="RegressionBenchmarks\Trent McConaghy\medium\srn.txt" /> 276 <EmbeddedResource Include="RegressionBenchmarks\Trent McConaghy\medium\srp.txt" /> 277 </ItemGroup> 232 278 <ItemGroup> 233 279 <EmbeddedResource Include="RegressionBenchmarks\RealWorldProblems\files\towerData.txt" /> -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Keijzer/KeijzerFunctionEight.cs
r7096 r7127 39 39 inputVariables = new List<string>() { "X" }; 40 40 trainingPartition = new IntRange(0, 101); 41 testPartition = new IntRange(10 2, 1103);41 testPartition = new IntRange(101, 1103); 42 42 } 43 43 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Keijzer/KeijzerFunctionFifteen.cs
r7085 r7127 38 38 inputVariables = new List<string>() { "X", "Y" }; 39 39 trainingPartition = new IntRange(0, 20); 40 testPartition = new IntRange(2 1, 621);40 testPartition = new IntRange(20, 621); 41 41 } 42 42 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Keijzer/KeijzerFunctionFour.cs
r7085 r7127 38 38 inputVariables = new List<string>() { "X" }; 39 39 trainingPartition = new IntRange(0, 21); 40 testPartition = new IntRange(2 2, 2022);40 testPartition = new IntRange(21, 2022); 41 41 } 42 42 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Keijzer/KeijzerFunctionSeven.cs
r7044 r7127 39 39 inputVariables = new List<string>() { "X" }; 40 40 trainingPartition = new IntRange(0, 50); 41 testPartition = new IntRange(5 1, 170);41 testPartition = new IntRange(50, 170); 42 42 } 43 43 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Keijzer/KeijzerFunctionSix.cs
r7044 r7127 38 38 inputVariables = new List<string>() { "X", "Y", "Z" }; 39 39 trainingPartition = new IntRange(0, 1000); 40 testPartition = new IntRange(100 1, 11000);40 testPartition = new IntRange(1000, 11000); 41 41 } 42 42 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Keijzer/KeijzerFunctionSixteen.cs
r7085 r7127 38 38 inputVariables = new List<string>() { "X", "Y" }; 39 39 trainingPartition = new IntRange(0, 20); 40 testPartition = new IntRange(2 1, 621);40 testPartition = new IntRange(20, 621); 41 41 } 42 42 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Keijzer/KeijzerFunctionThirteen.cs
r7085 r7127 38 38 inputVariables = new List<string>() { "X", "Y" }; 39 39 trainingPartition = new IntRange(0, 20); 40 testPartition = new IntRange(2 1, 621);40 testPartition = new IntRange(20, 621); 41 41 } 42 42 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Keijzer/KeijzerFunctionTwelve.cs
r7085 r7127 38 38 inputVariables = new List<string>() { "X", "Y" }; 39 39 trainingPartition = new IntRange(0, 20); 40 testPartition = new IntRange(2 1, 621);40 testPartition = new IntRange(20, 621); 41 41 } 42 42 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Korns/KornFunctionEight.cs
r7095 r7127 44 44 inputVariables = new List<string>() { "X0", "X1", "X2", "X3", "X4" }; 45 45 trainingPartition = new IntRange(0, 5000); 46 testPartition = new IntRange(500 1, 10000);46 testPartition = new IntRange(5000, 10000); 47 47 } 48 48 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Korns/KornFunctionEleven.cs
r7095 r7127 43 43 inputVariables = new List<string>() { "X0", "X1", "X2", "X3", "X4" }; 44 44 trainingPartition = new IntRange(0, 5000); 45 testPartition = new IntRange(500 1, 10000);45 testPartition = new IntRange(5000, 10000); 46 46 } 47 47 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Korns/KornFunctionFive.cs
r7095 r7127 44 44 inputVariables = new List<string>() { "X0", "X1", "X2", "X3", "X4" }; 45 45 trainingPartition = new IntRange(0, 5000); 46 testPartition = new IntRange(500 1, 10000);46 testPartition = new IntRange(5000, 10000); 47 47 } 48 48 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Korns/KornFunctionFiveteen.cs
r7095 r7127 44 44 inputVariables = new List<string>() { "X0", "X1", "X2", "X3", "X4" }; 45 45 trainingPartition = new IntRange(0, 5000); 46 testPartition = new IntRange(500 1, 10000);46 testPartition = new IntRange(5000, 10000); 47 47 } 48 48 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Korns/KornFunctionFour.cs
r7095 r7127 43 43 inputVariables = new List<string>() { "X0", "X1", "X2", "X3", "X4" }; 44 44 trainingPartition = new IntRange(0, 5000); 45 testPartition = new IntRange(500 1, 10000);45 testPartition = new IntRange(5000, 10000); 46 46 } 47 47 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Korns/KornFunctionFourteen.cs
r7095 r7127 43 43 inputVariables = new List<string>() { "X0", "X1", "X2", "X3", "X4" }; 44 44 trainingPartition = new IntRange(0, 5000); 45 testPartition = new IntRange(500 1, 10000);45 testPartition = new IntRange(5000, 10000); 46 46 } 47 47 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Korns/KornFunctionNine.cs
r7095 r7127 44 44 inputVariables = new List<string>() { "X0", "X1", "X2", "X3", "X4" }; 45 45 trainingPartition = new IntRange(0, 5000); 46 testPartition = new IntRange(500 1, 10000);46 testPartition = new IntRange(5000, 10000); 47 47 } 48 48 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Korns/KornFunctionOne.cs
r7095 r7127 43 43 inputVariables = new List<string>() { "X0", "X1", "X2", "X3", "X4" }; 44 44 trainingPartition = new IntRange(0, 5000); 45 testPartition = new IntRange(500 1, 10000);45 testPartition = new IntRange(5000, 10000); 46 46 } 47 47 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Korns/KornFunctionSeven.cs
r7095 r7127 43 43 inputVariables = new List<string>() { "X0", "X1", "X2", "X3", "X4" }; 44 44 trainingPartition = new IntRange(0, 5000); 45 testPartition = new IntRange(500 1, 10000);45 testPartition = new IntRange(5000, 10000); 46 46 } 47 47 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Korns/KornFunctionSix.cs
r7095 r7127 44 44 inputVariables = new List<string>() { "X0", "X1", "X2", "X3", "X4" }; 45 45 trainingPartition = new IntRange(0, 5000); 46 testPartition = new IntRange(500 1, 10000);46 testPartition = new IntRange(5000, 10000); 47 47 } 48 48 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Korns/KornFunctionTen.cs
r7095 r7127 43 43 inputVariables = new List<string>() { "X0", "X1", "X2", "X3", "X4" }; 44 44 trainingPartition = new IntRange(0, 5000); 45 testPartition = new IntRange(500 1, 10000);45 testPartition = new IntRange(5000, 10000); 46 46 } 47 47 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Korns/KornFunctionThirteen.cs
r7095 r7127 43 43 inputVariables = new List<string>() { "X0", "X1", "X2", "X3", "X4" }; 44 44 trainingPartition = new IntRange(0, 5000); 45 testPartition = new IntRange(500 1, 10000);45 testPartition = new IntRange(5000, 10000); 46 46 } 47 47 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Korns/KornFunctionThree.cs
r7095 r7127 43 43 inputVariables = new List<string>() { "X0", "X1", "X2", "X3", "X4" }; 44 44 trainingPartition = new IntRange(0, 5000); 45 testPartition = new IntRange(500 1, 10000);45 testPartition = new IntRange(5000, 10000); 46 46 } 47 47 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Korns/KornFunctionTwelve.cs
r7095 r7127 43 43 inputVariables = new List<string>() { "X0", "X1", "X2", "X3", "X4" }; 44 44 trainingPartition = new IntRange(0, 5000); 45 testPartition = new IntRange(500 1, 10000);45 testPartition = new IntRange(5000, 10000); 46 46 } 47 47 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Korns/KornFunctionTwo.cs
r7095 r7127 43 43 inputVariables = new List<string>() { "X0", "X1", "X2", "X3", "X4" }; 44 44 trainingPartition = new IntRange(0, 5000); 45 testPartition = new IntRange(500 1, 10000);45 testPartition = new IntRange(5000, 10000); 46 46 } 47 47 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Nguyen/NguyenFunctionEight.cs
r7044 r7127 38 38 inputVariables = new List<string>() { "X" }; 39 39 trainingPartition = new IntRange(0, 250); 40 testPartition = new IntRange(25 1, 500);40 testPartition = new IntRange(250, 500); 41 41 } 42 42 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Nguyen/NguyenFunctionEleven.cs
r7044 r7127 38 38 inputVariables = new List<string>() { "X", "Y" }; 39 39 trainingPartition = new IntRange(0, 250); 40 testPartition = new IntRange(25 1, 500);40 testPartition = new IntRange(250, 500); 41 41 } 42 42 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Nguyen/NguyenFunctionFive.cs
r7044 r7127 38 38 inputVariables = new List<string>() { "X" }; 39 39 trainingPartition = new IntRange(0, 250); 40 testPartition = new IntRange(25 1, 500);40 testPartition = new IntRange(250, 500); 41 41 } 42 42 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Nguyen/NguyenFunctionFour.cs
r7044 r7127 38 38 inputVariables = new List<string>() { "X" }; 39 39 trainingPartition = new IntRange(0, 250); 40 testPartition = new IntRange(25 1, 500);40 testPartition = new IntRange(250, 500); 41 41 } 42 42 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Nguyen/NguyenFunctionNine.cs
r7044 r7127 38 38 inputVariables = new List<string>() { "X", "Y" }; 39 39 trainingPartition = new IntRange(0, 250); 40 testPartition = new IntRange(25 1, 500);40 testPartition = new IntRange(250, 500); 41 41 } 42 42 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Nguyen/NguyenFunctionOne.cs
r7096 r7127 38 38 inputVariables = new List<string>() { "X" }; 39 39 trainingPartition = new IntRange(0, 250); 40 testPartition = new IntRange(25 1, 500);40 testPartition = new IntRange(250, 500); 41 41 } 42 42 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Nguyen/NguyenFunctionSeven.cs
r7044 r7127 38 38 inputVariables = new List<string>() { "X" }; 39 39 trainingPartition = new IntRange(0, 250); 40 testPartition = new IntRange(25 1, 500);40 testPartition = new IntRange(250, 500); 41 41 } 42 42 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Nguyen/NguyenFunctionSix.cs
r7044 r7127 38 38 inputVariables = new List<string>() { "X" }; 39 39 trainingPartition = new IntRange(0, 250); 40 testPartition = new IntRange(25 1, 500);40 testPartition = new IntRange(250, 500); 41 41 } 42 42 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Nguyen/NguyenFunctionTen.cs
r7044 r7127 38 38 inputVariables = new List<string>() { "X", "Y" }; 39 39 trainingPartition = new IntRange(0, 250); 40 testPartition = new IntRange(25 1, 500);40 testPartition = new IntRange(250, 500); 41 41 } 42 42 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Nguyen/NguyenFunctionThree.cs
r7044 r7127 38 38 inputVariables = new List<string>() { "X" }; 39 39 trainingPartition = new IntRange(0, 250); 40 testPartition = new IntRange(25 1, 500);40 testPartition = new IntRange(250, 500); 41 41 } 42 42 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Nguyen/NguyenFunctionTwelve.cs
r7044 r7127 38 38 inputVariables = new List<string>() { "X", "Y" }; 39 39 trainingPartition = new IntRange(0, 250); 40 testPartition = new IntRange(25 1, 500);40 testPartition = new IntRange(250, 500); 41 41 } 42 42 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Nguyen/NguyenFunctionTwo.cs
r7044 r7127 38 38 inputVariables = new List<string>() { "X" }; 39 39 trainingPartition = new IntRange(0, 250); 40 testPartition = new IntRange(25 1, 500);40 testPartition = new IntRange(250, 500); 41 41 } 42 42 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/RealWorldProblems/ChemicalOne.cs
r7085 r7127 41 41 42 42 protected override List<IList> GetData() { 43 csvFileParser = RegressionRealWorldBenchmark.getParserForFile(fileName);43 csvFileParser = Benchmark.getParserForFile(fileName); 44 44 45 45 targetVariable = csvFileParser.VariableNames.Last(); … … 47 47 int trainingPartEnd = csvFileParser.Rows * 2 / 3; 48 48 trainingPartition = new IntRange(0, trainingPartEnd); 49 testPartition = new IntRange(trainingPartEnd + 1, csvFileParser.Rows);49 testPartition = new IntRange(trainingPartEnd, csvFileParser.Rows); 50 50 51 51 return csvFileParser.Values.Skip(csvFileParser.Columns - 1).Union(csvFileParser.Values.Take(csvFileParser.Columns - 1)).ToList(); -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/RealWorldProblems/Housing.cs
r7085 r7127 41 41 42 42 protected override List<IList> GetData() { 43 csvFileParser = RegressionRealWorldBenchmark.getParserForFile(fileName);43 csvFileParser = Benchmark.getParserForFile(fileName); 44 44 45 45 targetVariable = csvFileParser.VariableNames.Last(); … … 47 47 int trainingPartEnd = csvFileParser.Rows * 2 / 3; 48 48 trainingPartition = new IntRange(0, trainingPartEnd); 49 testPartition = new IntRange(trainingPartEnd + 1, csvFileParser.Rows);49 testPartition = new IntRange(trainingPartEnd, csvFileParser.Rows); 50 50 51 51 return csvFileParser.Values.Skip(csvFileParser.Columns - 1).Union(csvFileParser.Values.Take(csvFileParser.Columns - 1)).ToList(); -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/RealWorldProblems/TowerProblem.cs
r7085 r7127 41 41 42 42 protected override List<IList> GetData() { 43 csvFileParser = RegressionRealWorldBenchmark.getParserForFile(fileName);43 csvFileParser = Benchmark.getParserForFile(fileName); 44 44 45 45 targetVariable = csvFileParser.VariableNames.Last(); … … 47 47 int trainingPartEnd = csvFileParser.Rows * 2 / 3; 48 48 trainingPartition = new IntRange(0, trainingPartEnd); 49 testPartition = new IntRange(trainingPartEnd + 1, csvFileParser.Rows);49 testPartition = new IntRange(trainingPartEnd, csvFileParser.Rows); 50 50 51 51 return csvFileParser.Values.Skip(csvFileParser.Columns - 1).Union(csvFileParser.Values.Take(csvFileParser.Columns - 1)).ToList(); -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Vladislavleva/KotanchekFunction.cs
r7085 r7127 38 38 inputVariables = new List<string>() { "X1", "X2" }; 39 39 trainingPartition = new IntRange(0, 100); 40 testPartition = new IntRange(10 1, 2125);40 testPartition = new IntRange(100, 2125); 41 41 } 42 42 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Vladislavleva/RationalPolynomialThreeDimensional.cs
r7085 r7127 38 38 inputVariables = new List<string>() { "X1", "X2", "X3" }; 39 39 trainingPartition = new IntRange(0, 300); 40 testPartition = new IntRange(30 1, 3000);40 testPartition = new IntRange(300, 3000); 41 41 } 42 42 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Vladislavleva/RationalPolynomialTwoDimensional.cs
r7085 r7127 38 38 inputVariables = new List<string>() { "X1", "X2" }; 39 39 trainingPartition = new IntRange(0, 50); 40 testPartition = new IntRange(5 1, 1207);40 testPartition = new IntRange(50, 1207); 41 41 } 42 42 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Vladislavleva/RippleFunction.cs
r7085 r7127 38 38 inputVariables = new List<string>() { "X1", "X2" }; 39 39 trainingPartition = new IntRange(0, 300); 40 testPartition = new IntRange(30 1, 1300);40 testPartition = new IntRange(300, 1300); 41 41 } 42 42 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Vladislavleva/SalutowiczFunctionOneDimensional.cs
r7085 r7127 38 38 inputVariables = new List<string>() { "X" }; 39 39 trainingPartition = new IntRange(0, 100); 40 testPartition = new IntRange(10 1, 321);40 testPartition = new IntRange(100, 321); 41 41 } 42 42 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Vladislavleva/SalutowiczFunctionTwoDimensional.cs
r7085 r7127 39 39 inputVariables = new List<string>() { "X1", "X2" }; 40 40 trainingPartition = new IntRange(0, 601); 41 testPartition = new IntRange(60 2, 3155);41 testPartition = new IntRange(601, 3155); 42 42 } 43 43 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Vladislavleva/SineCosineFunction.cs
r7085 r7127 38 38 inputVariables = new List<string>() { "X1", "X2" }; 39 39 trainingPartition = new IntRange(0, 30); 40 testPartition = new IntRange(3 1, 991);40 testPartition = new IntRange(30, 991); 41 41 } 42 42 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Vladislavleva/UnwrappedBallFunctionFiveDimensional.cs
r7085 r7127 39 39 inputVariables = new List<string>() { "X1", "X2", "X3", "X4", "X5" }; 40 40 trainingPartition = new IntRange(0, 1024); 41 testPartition = new IntRange(102 5, 6024);41 testPartition = new IntRange(1024, 6024); 42 42 } 43 43
Note: See TracChangeset
for help on using the changeset viewer.