- Timestamp:
- 01/14/12 21:33:47 (13 years ago)
- Location:
- branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Keijzer
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Keijzer/KeijzerFunctionFifteen.cs
r7307 r7328 40 40 inputVariables = new List<string>() { "X", "Y" }; 41 41 trainingPartition = new IntRange(0, 20); 42 testPartition = new IntRange(2 500, 2601);42 testPartition = new IntRange(20, 120); 43 43 } 44 44 … … 58 58 DoubleRange range = new DoubleRange(-3, 3); 59 59 60 List<double> oneVariableTestData = RegressionBenchmark.GenerateSteps(range, 0.01);61 List<List<double>> testData = new List<List<double>>() { oneVariableTestData, oneVariableTestData };62 testData = RegressionBenchmark.GenerateAllCombinationsOfValuesInLists(testData);63 64 60 for (int i = 0; i < InputVariable.Count; i++) { 65 dataList.Add(RegressionBenchmark.GenerateUniformDistributedValues(2500, range)); 66 dataList[i].AddRange(testData[i]); 61 dataList.Add(RegressionBenchmark.GenerateUniformDistributedValues(5000, range)); 67 62 } 68 63 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Keijzer/KeijzerFunctionSixteen.cs
r7307 r7328 40 40 inputVariables = new List<string>() { "X", "Y" }; 41 41 trainingPartition = new IntRange(0, 20); 42 testPartition = new IntRange(2 500, 2601);42 testPartition = new IntRange(20, 120); 43 43 } 44 44 … … 58 58 DoubleRange range = new DoubleRange(-3, 3); 59 59 60 List<double> oneVariableTestData = RegressionBenchmark.GenerateSteps(range, 0.01);61 List<List<double>> testData = new List<List<double>>() { oneVariableTestData, oneVariableTestData };62 testData = RegressionBenchmark.GenerateAllCombinationsOfValuesInLists(testData);63 64 60 for (int i = 0; i < InputVariable.Count; i++) { 65 dataList.Add(RegressionBenchmark.GenerateUniformDistributedValues(2500, range)); 66 dataList[i].AddRange(testData[i]); 61 dataList.Add(RegressionBenchmark.GenerateUniformDistributedValues(5000, range)); 67 62 } 68 63 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Keijzer/KeijzerFunctionThirteen.cs
r7307 r7328 40 40 inputVariables = new List<string>() { "X", "Y" }; 41 41 trainingPartition = new IntRange(0, 20); 42 testPartition = new IntRange(2 500, 2601);42 testPartition = new IntRange(20, 120); 43 43 } 44 44 … … 58 58 DoubleRange range = new DoubleRange(-3, 3); 59 59 60 List<double> oneVariableTestData = RegressionBenchmark.GenerateSteps(range, 0.01);61 List<List<double>> testData = new List<List<double>>() { oneVariableTestData, oneVariableTestData };62 testData = RegressionBenchmark.GenerateAllCombinationsOfValuesInLists(testData);63 64 60 for (int i = 0; i < InputVariable.Count; i++) { 65 dataList.Add(RegressionBenchmark.GenerateUniformDistributedValues(2500, range)); 66 dataList[i].AddRange(testData[i]); 61 dataList.Add(RegressionBenchmark.GenerateUniformDistributedValues(5000, range)); 67 62 } 68 63 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Keijzer/KeijzerFunctionTwelve.cs
r7307 r7328 40 40 inputVariables = new List<string>() { "X", "Y" }; 41 41 trainingPartition = new IntRange(0, 20); 42 testPartition = new IntRange(2 500, 2601);42 testPartition = new IntRange(20, 120); 43 43 } 44 44 … … 58 58 DoubleRange range = new DoubleRange(-3, 3); 59 59 60 List<double> oneVariableTestData = RegressionBenchmark.GenerateSteps(range, 0.01);61 List<List<double>> testData = new List<List<double>>() { oneVariableTestData, oneVariableTestData };62 testData = RegressionBenchmark.GenerateAllCombinationsOfValuesInLists(testData);63 64 60 for (int i = 0; i < InputVariable.Count; i++) { 65 dataList.Add(RegressionBenchmark.GenerateUniformDistributedValues(2500, range)); 66 dataList[i].AddRange(testData[i]); 61 dataList.Add(RegressionBenchmark.GenerateUniformDistributedValues(5000, range)); 67 62 } 68 63
Note: See TracChangeset
for help on using the changeset viewer.