- Timestamp:
- 11/22/11 16:52:43 (13 years ago)
- Location:
- branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4
- Files:
-
- 14 added
- 45 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/Generator/RegressionBenchmark.cs
r7025 r7044 57 57 } 58 58 59 protected abstract List<double> CalculateFunction(List<List<double>> data); 60 61 protected abstract List<List<double>> GenerateInput(List<List<double>> dataList); 62 63 public IDataAnalysisProblemData GenerateProblemData() { 64 List<string> varNames = new List<string>(); 65 varNames.Add(this.TargetVariable); 66 varNames.AddRange(InputVariable); 67 68 List<List<double>> dataList = GenerateInput(new List<List<double>>()); 69 70 dataList.Insert(0, CalculateFunction(dataList)); 71 72 Dataset dataset = new Dataset(varNames, dataList); 73 74 RegressionProblemData problemData = new RegressionProblemData(dataset, dataset.DoubleVariables.Skip(1), dataset.DoubleVariables.First()); 75 76 problemData.Name = "Data generated for benchmark problem \"" + this.Name + "\""; 77 problemData.Description = this.Description; 78 79 problemData.TestPartition.Start = this.TestPartition.Start; 80 problemData.TestPartition.End = this.TestPartition.End; 81 82 problemData.TrainingPartition.Start = this.TrainingPartition.Start; 83 problemData.TrainingPartition.End = this.TrainingPartition.End; 84 85 return problemData; 86 } 59 public abstract IDataAnalysisProblemData GenerateProblemData(); 87 60 88 61 public static List<double> GenerateSteps(DoubleRange range, double stepWidth) { -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/HeuristicLab.Problems.DataAnalysis.Benchmarks-3.4.csproj
r7031 r7044 49 49 <ItemGroup> 50 50 <Compile Include="Benchmark.cs" /> 51 <Compile Include="Generator\RegressionRealWorldBenchmark.cs" /> 52 <Compile Include="Generator\RegressionToyBenchmark.cs" /> 51 53 <Compile Include="Plugin.cs" /> 52 54 <Compile Include="Properties\AssemblyInfo.cs" /> 53 <Compile Include="RegressionBenchmarks\Keijzer\KeijzerFunctionSixteen.cs" /> 54 <Compile Include="RegressionBenchmarks\Keijzer\KeijzerFunctionFifteen.cs" /> 55 <Compile Include="RegressionBenchmarks\Keijzer\KeijzerFunctionThirteen.cs" /> 56 <Compile Include="RegressionBenchmarks\Keijzer\KeijzerFunctionTwelve.cs" /> 57 <Compile Include="RegressionBenchmarks\Keijzer\KeijzerFunctionEight.cs" /> 58 <Compile Include="RegressionBenchmarks\Keijzer\KeijzerFunctionSeven.cs" /> 59 <Compile Include="RegressionBenchmarks\Keijzer\KeijzerFunctionSix.cs" /> 60 <Compile Include="RegressionBenchmarks\Korns\KornFunctionFiveteen.cs" /> 61 <Compile Include="RegressionBenchmarks\Korns\KornFunctionFourteen.cs" /> 62 <Compile Include="RegressionBenchmarks\Korns\KornFunctionThirteen.cs" /> 63 <Compile Include="RegressionBenchmarks\Korns\KornFunctionTwelve.cs" /> 64 <Compile Include="RegressionBenchmarks\Korns\KornFunctionEleven.cs" /> 65 <Compile Include="RegressionBenchmarks\Korns\KornFunctionTen.cs" /> 66 <Compile Include="RegressionBenchmarks\Korns\KornFunctionNine.cs" /> 67 <Compile Include="RegressionBenchmarks\Korns\KornFunctionEight.cs" /> 68 <Compile Include="RegressionBenchmarks\Korns\KornFunctionSeven.cs" /> 69 <Compile Include="RegressionBenchmarks\Korns\KornFunctionSix.cs" /> 70 <Compile Include="RegressionBenchmarks\Korns\KornFunctionFive.cs" /> 71 <Compile Include="RegressionBenchmarks\Korns\KornFunctionFour.cs" /> 72 <Compile Include="RegressionBenchmarks\Korns\KornFunctionThree.cs" /> 73 <Compile Include="RegressionBenchmarks\Korns\KornFunctionTwo.cs" /> 74 <Compile Include="RegressionBenchmarks\Korns\KornFunctionOne.cs" /> 75 <Compile Include="RegressionBenchmarks\Keijzer\KeijzerFunctionFour.cs" /> 76 <Compile Include="RegressionBenchmarks\Nguyen\NguyenFunctionTwelve.cs" /> 77 <Compile Include="RegressionBenchmarks\Nguyen\NguyenFunctionEleven.cs" /> 78 <Compile Include="RegressionBenchmarks\Nguyen\NguyenFunctionTen.cs" /> 79 <Compile Include="RegressionBenchmarks\Nguyen\NguyenFunctionNine.cs" /> 80 <Compile Include="RegressionBenchmarks\Nguyen\NguyenFunctionEight.cs" /> 81 <Compile Include="RegressionBenchmarks\Nguyen\NguyenFunctionSeven.cs" /> 82 <Compile Include="RegressionBenchmarks\Nguyen\NguyenFunctionSix.cs" /> 83 <Compile Include="RegressionBenchmarks\Nguyen\NguyenFunctionFive.cs" /> 84 <Compile Include="RegressionBenchmarks\Nguyen\NguyenFunctionFour.cs" /> 85 <Compile Include="RegressionBenchmarks\Nguyen\NguyenFunctionThree.cs" /> 86 <Compile Include="RegressionBenchmarks\Nguyen\NguyenFunctionTwo.cs" /> 87 <Compile Include="RegressionBenchmarks\Nguyen\NguyenFunctionOne.cs" /> 88 <Compile Include="RegressionBenchmarks\Vladislavleva\KotanchekFunction.cs" /> 55 <Compile Include="RegressionBenchmarks\Keijzer\KeijzerFunctionEight.cs"> 56 <SubType>Code</SubType> 57 </Compile> 58 <Compile Include="RegressionBenchmarks\Keijzer\KeijzerFunctionFifteen.cs"> 59 <SubType>Code</SubType> 60 </Compile> 61 <Compile Include="RegressionBenchmarks\Keijzer\KeijzerFunctionFour.cs"> 62 <SubType>Code</SubType> 63 </Compile> 64 <Compile Include="RegressionBenchmarks\Keijzer\KeijzerFunctionSeven.cs"> 65 <SubType>Code</SubType> 66 </Compile> 67 <Compile Include="RegressionBenchmarks\Keijzer\KeijzerFunctionSix.cs"> 68 <SubType>Code</SubType> 69 </Compile> 70 <Compile Include="RegressionBenchmarks\Keijzer\KeijzerFunctionSixteen.cs"> 71 <SubType>Code</SubType> 72 </Compile> 73 <Compile Include="RegressionBenchmarks\Keijzer\KeijzerFunctionThirteen.cs"> 74 <SubType>Code</SubType> 75 </Compile> 76 <Compile Include="RegressionBenchmarks\Keijzer\KeijzerFunctionTwelve.cs"> 77 <SubType>Code</SubType> 78 </Compile> 79 <Compile Include="RegressionBenchmarks\Korns\KornFunctionEight.cs"> 80 <SubType>Code</SubType> 81 </Compile> 82 <Compile Include="RegressionBenchmarks\Korns\KornFunctionEleven.cs"> 83 <SubType>Code</SubType> 84 </Compile> 85 <Compile Include="RegressionBenchmarks\Korns\KornFunctionFive.cs"> 86 <SubType>Code</SubType> 87 </Compile> 88 <Compile Include="RegressionBenchmarks\Korns\KornFunctionFiveteen.cs"> 89 <SubType>Code</SubType> 90 </Compile> 91 <Compile Include="RegressionBenchmarks\Korns\KornFunctionFour.cs"> 92 <SubType>Code</SubType> 93 </Compile> 94 <Compile Include="RegressionBenchmarks\Korns\KornFunctionFourteen.cs"> 95 <SubType>Code</SubType> 96 </Compile> 97 <Compile Include="RegressionBenchmarks\Korns\KornFunctionNine.cs"> 98 <SubType>Code</SubType> 99 </Compile> 100 <Compile Include="RegressionBenchmarks\Korns\KornFunctionOne.cs"> 101 <SubType>Code</SubType> 102 </Compile> 103 <Compile Include="RegressionBenchmarks\Korns\KornFunctionSeven.cs"> 104 <SubType>Code</SubType> 105 </Compile> 106 <Compile Include="RegressionBenchmarks\Korns\KornFunctionSix.cs"> 107 <SubType>Code</SubType> 108 </Compile> 109 <Compile Include="RegressionBenchmarks\Korns\KornFunctionTen.cs"> 110 <SubType>Code</SubType> 111 </Compile> 112 <Compile Include="RegressionBenchmarks\Korns\KornFunctionThirteen.cs"> 113 <SubType>Code</SubType> 114 </Compile> 115 <Compile Include="RegressionBenchmarks\Korns\KornFunctionThree.cs"> 116 <SubType>Code</SubType> 117 </Compile> 118 <Compile Include="RegressionBenchmarks\Korns\KornFunctionTwelve.cs"> 119 <SubType>Code</SubType> 120 </Compile> 121 <Compile Include="RegressionBenchmarks\Korns\KornFunctionTwo.cs"> 122 <SubType>Code</SubType> 123 </Compile> 124 <Compile Include="RegressionBenchmarks\Nguyen\NguyenFunctionEight.cs"> 125 <SubType>Code</SubType> 126 </Compile> 127 <Compile Include="RegressionBenchmarks\Nguyen\NguyenFunctionEleven.cs"> 128 <SubType>Code</SubType> 129 </Compile> 130 <Compile Include="RegressionBenchmarks\Nguyen\NguyenFunctionFive.cs"> 131 <SubType>Code</SubType> 132 </Compile> 133 <Compile Include="RegressionBenchmarks\Nguyen\NguyenFunctionFour.cs"> 134 <SubType>Code</SubType> 135 </Compile> 136 <Compile Include="RegressionBenchmarks\Nguyen\NguyenFunctionNine.cs"> 137 <SubType>Code</SubType> 138 </Compile> 139 <Compile Include="RegressionBenchmarks\Nguyen\NguyenFunctionOne.cs"> 140 <SubType>Code</SubType> 141 </Compile> 142 <Compile Include="RegressionBenchmarks\Nguyen\NguyenFunctionSeven.cs"> 143 <SubType>Code</SubType> 144 </Compile> 145 <Compile Include="RegressionBenchmarks\Nguyen\NguyenFunctionSix.cs"> 146 <SubType>Code</SubType> 147 </Compile> 148 <Compile Include="RegressionBenchmarks\Nguyen\NguyenFunctionTen.cs"> 149 <SubType>Code</SubType> 150 </Compile> 151 <Compile Include="RegressionBenchmarks\Nguyen\NguyenFunctionThree.cs"> 152 <SubType>Code</SubType> 153 </Compile> 154 <Compile Include="RegressionBenchmarks\Nguyen\NguyenFunctionTwelve.cs"> 155 <SubType>Code</SubType> 156 </Compile> 157 <Compile Include="RegressionBenchmarks\Nguyen\NguyenFunctionTwo.cs"> 158 <SubType>Code</SubType> 159 </Compile> 160 <Compile Include="RegressionBenchmarks\RealWorldProblems\ChemicalOne.cs" /> 161 <Compile Include="RegressionBenchmarks\RealWorldProblems\MacroEconomic.cs" /> 162 <Compile Include="RegressionBenchmarks\RealWorldProblems\Housing.cs" /> 163 <Compile Include="RegressionBenchmarks\RealWorldProblems\FinancialOne.cs" /> 164 <Compile Include="RegressionBenchmarks\RealWorldProblems\TowerProblem.cs" /> 89 165 <Compile Include="Generator\RegressionBenchmark.cs" /> 90 <Compile Include="RegressionBenchmarks\Vladislavleva\RationalPolynomialThreeDimensional.cs" /> 91 <Compile Include="RegressionBenchmarks\Vladislavleva\RationalPolynomialTwoDimensional.cs" /> 92 <Compile Include="RegressionBenchmarks\Vladislavleva\RippleFunction.cs" /> 93 <Compile Include="RegressionBenchmarks\Vladislavleva\SalustowiczFunctionOneDimensional.cs" /> 94 <Compile Include="RegressionBenchmarks\Vladislavleva\SalustowiczFunctionTwoDimensional.cs" /> 95 <Compile Include="RegressionBenchmarks\Vladislavleva\SineCosineFunction.cs" /> 96 <Compile Include="RegressionBenchmarks\Vladislavleva\UnwrappedBallFunctionFiveDimensional.cs" /> 166 <Compile Include="RegressionBenchmarks\Vladislavleva\KotanchekFunction.cs"> 167 <SubType>Code</SubType> 168 </Compile> 169 <Compile Include="RegressionBenchmarks\Vladislavleva\RationalPolynomialThreeDimensional.cs"> 170 <SubType>Code</SubType> 171 </Compile> 172 <Compile Include="RegressionBenchmarks\Vladislavleva\RationalPolynomialTwoDimensional.cs"> 173 <SubType>Code</SubType> 174 </Compile> 175 <Compile Include="RegressionBenchmarks\Vladislavleva\RippleFunction.cs"> 176 <SubType>Code</SubType> 177 </Compile> 178 <Compile Include="RegressionBenchmarks\Vladislavleva\SalustowiczFunctionOneDimensional.cs"> 179 <SubType>Code</SubType> 180 </Compile> 181 <Compile Include="RegressionBenchmarks\Vladislavleva\SalustowiczFunctionTwoDimensional.cs"> 182 <SubType>Code</SubType> 183 </Compile> 184 <Compile Include="RegressionBenchmarks\Vladislavleva\SineCosineFunction.cs"> 185 <SubType>Code</SubType> 186 </Compile> 187 <Compile Include="RegressionBenchmarks\Vladislavleva\UnwrappedBallFunctionFiveDimensional.cs"> 188 <SubType>Code</SubType> 189 </Compile> 97 190 </ItemGroup> 98 191 <ItemGroup> … … 134 227 <None Include="Plugin.cs.frame" /> 135 228 <None Include="Properties\AssemblyInfo.cs.frame" /> 229 <EmbeddedResource Include="RegressionBenchmarks\RealWorldProblems\files\chemical-I.csv" /> 230 <EmbeddedResource Include="RegressionBenchmarks\RealWorldProblems\files\financial-I.csv" /> 231 <EmbeddedResource Include="RegressionBenchmarks\RealWorldProblems\files\housing.csv" /> 232 <EmbeddedResource Include="RegressionBenchmarks\RealWorldProblems\files\macro-economic.csv" /> 136 233 </ItemGroup> 137 234 <ItemGroup /> 235 <ItemGroup> 236 <EmbeddedResource Include="RegressionBenchmarks\RealWorldProblems\files\towerData.txt" /> 237 </ItemGroup> 138 238 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> 139 239 <PropertyGroup> -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Keijzer/KeijzerFunctionEight.cs
r7031 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class KeijzerFunctionEight : Regression Benchmark {27 public class KeijzerFunctionEight : RegressionToyBenchmark { 28 28 29 29 public KeijzerFunctionEight() { … … 41 41 } 42 42 43 protected override List<double> CalculateFunction(List<List<double>> data) {43 protected override List<double> GenerateTarget(List<List<double>> data) { 44 44 double x; 45 45 List<double> results = new List<double>(); … … 51 51 } 52 52 53 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 53 protected override List<List<double>> GenerateInput() { 54 List<List<double>> dataList = new List<List<double>>(); 54 55 dataList.Add(RegressionBenchmark.GenerateSteps(new DoubleRange(0, 100), 1)); 55 56 dataList[0].AddRange(RegressionBenchmark.GenerateSteps(new DoubleRange(0, 100), 0.1)); -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Keijzer/KeijzerFunctionFifteen.cs
r7031 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class KeijzerFunctionFifteen : Regression Benchmark {27 public class KeijzerFunctionFifteen : RegressionToyBenchmark { 28 28 29 29 public KeijzerFunctionFifteen() { … … 41 41 } 42 42 43 protected override List<double> CalculateFunction(List<List<double>> data) {43 protected override List<double> GenerateTarget(List<List<double>> data) { 44 44 double x, y; 45 45 List<double> results = new List<double>(); … … 52 52 } 53 53 54 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 54 protected override List<List<double>> GenerateInput() { 55 List<List<double>> dataList = new List<List<double>>(); 55 56 DoubleRange range = new DoubleRange(-3, 3); 56 57 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Keijzer/KeijzerFunctionFour.cs
r7025 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class KeijzerFunctionFour : Regression Benchmark {27 public class KeijzerFunctionFour : RegressionToyBenchmark { 28 28 29 29 public KeijzerFunctionFour() { … … 41 41 } 42 42 43 protected override List<double> CalculateFunction(List<List<double>> data) {43 protected override List<double> GenerateTarget(List<List<double>> data) { 44 44 double x; 45 45 List<double> results = new List<double>(); … … 51 51 } 52 52 53 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 53 protected override List<List<double>> GenerateInput() { 54 List<List<double>> dataList = new List<List<double>>(); 54 55 DoubleRange range = new DoubleRange(-1, 1); 55 56 dataList.Add(RegressionBenchmark.GenerateSteps(range, 0.1)); -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Keijzer/KeijzerFunctionSeven.cs
r7025 r7044 26 26 27 27 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 28 public class KeijzerFunctionSeven : Regression Benchmark {28 public class KeijzerFunctionSeven : RegressionToyBenchmark { 29 29 30 30 public KeijzerFunctionSeven() { … … 42 42 } 43 43 44 protected override List<double> CalculateFunction(List<List<double>> data) {44 protected override List<double> GenerateTarget(List<List<double>> data) { 45 45 double x; 46 46 List<double> results = new List<double>(); … … 52 52 } 53 53 54 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 54 protected override List<List<double>> GenerateInput() { 55 List<List<double>> dataList = new List<List<double>>(); 55 56 dataList.Add(RegressionBenchmark.GenerateSteps(new DoubleRange(1, 50), 1)); 56 57 dataList[0].AddRange(RegressionBenchmark.GenerateSteps(new DoubleRange(1, 120), 1)); -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Keijzer/KeijzerFunctionSix.cs
r7031 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class KeijzerFunctionSix : Regression Benchmark {27 public class KeijzerFunctionSix : RegressionToyBenchmark { 28 28 29 29 public KeijzerFunctionSix() { … … 41 41 } 42 42 43 protected override List<double> CalculateFunction(List<List<double>> data) {43 protected override List<double> GenerateTarget(List<List<double>> data) { 44 44 double x, y, z; 45 45 List<double> results = new List<double>(); … … 53 53 } 54 54 55 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 55 protected override List<List<double>> GenerateInput() { 56 List<List<double>> dataList = new List<List<double>>(); 56 57 DoubleRange rangeXZ = new DoubleRange(-1, 1); 57 58 DoubleRange rangeY = new DoubleRange(1, 2); -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Keijzer/KeijzerFunctionSixteen.cs
r7031 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class KeijzerFunctionSixteen : Regression Benchmark {27 public class KeijzerFunctionSixteen : RegressionToyBenchmark { 28 28 29 29 public KeijzerFunctionSixteen() { … … 41 41 } 42 42 43 protected override List<double> CalculateFunction(List<List<double>> data) {43 protected override List<double> GenerateTarget(List<List<double>> data) { 44 44 double x, y; 45 45 List<double> results = new List<double>(); … … 52 52 } 53 53 54 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 54 protected override List<List<double>> GenerateInput() { 55 List<List<double>> dataList = new List<List<double>>(); 55 56 DoubleRange range = new DoubleRange(-3, 3); 56 57 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Keijzer/KeijzerFunctionThirteen.cs
r7031 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class KeijzerFunctionThirteen : Regression Benchmark {27 public class KeijzerFunctionThirteen : RegressionToyBenchmark { 28 28 29 29 public KeijzerFunctionThirteen() { … … 41 41 } 42 42 43 protected override List<double> CalculateFunction(List<List<double>> data) {43 protected override List<double> GenerateTarget(List<List<double>> data) { 44 44 double x, y; 45 45 List<double> results = new List<double>(); … … 52 52 } 53 53 54 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 54 protected override List<List<double>> GenerateInput() { 55 List<List<double>> dataList = new List<List<double>>(); 55 56 DoubleRange range = new DoubleRange(-3, 3); 56 57 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Keijzer/KeijzerFunctionTwelve.cs
r7031 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class KeijzerFunctionTwelve : Regression Benchmark {27 public class KeijzerFunctionTwelve : RegressionToyBenchmark { 28 28 29 29 public KeijzerFunctionTwelve() { … … 41 41 } 42 42 43 protected override List<double> CalculateFunction(List<List<double>> data) {43 protected override List<double> GenerateTarget(List<List<double>> data) { 44 44 double x, y; 45 45 List<double> results = new List<double>(); … … 52 52 } 53 53 54 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 54 protected override List<List<double>> GenerateInput() { 55 List<List<double>> dataList = new List<List<double>>(); 55 56 DoubleRange range = new DoubleRange(-3, 3); 56 57 -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Korns/KornFunctionEight.cs
r7025 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class KornFunctionEight : Regression Benchmark {27 public class KornFunctionEight : RegressionToyBenchmark { 28 28 29 29 public KornFunctionEight() { … … 46 46 } 47 47 48 protected override List<double> CalculateFunction(List<List<double>> data) {48 protected override List<double> GenerateTarget(List<List<double>> data) { 49 49 double x0, x3, x4; 50 50 List<double> results = new List<double>(); … … 58 58 } 59 59 60 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 60 protected override List<List<double>> GenerateInput() { 61 List<List<double>> dataList = new List<List<double>>(); 61 62 DoubleRange range = new DoubleRange(-50, 50); 62 63 for (int i = 0; i < inputVariables.Count; i++) { -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Korns/KornFunctionEleven.cs
r7025 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class KornsFunctionEleven : Regression Benchmark {27 public class KornsFunctionEleven : RegressionToyBenchmark { 28 28 29 29 public KornsFunctionEleven() { … … 46 46 } 47 47 48 protected override List<double> CalculateFunction(List<List<double>> data) {48 protected override List<double> GenerateTarget(List<List<double>> data) { 49 49 double x0; 50 50 List<double> results = new List<double>(); … … 56 56 } 57 57 58 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 58 protected override List<List<double>> GenerateInput() { 59 List<List<double>> dataList = new List<List<double>>(); 59 60 DoubleRange range = new DoubleRange(-50, 50); 60 61 for (int i = 0; i < inputVariables.Count; i++) { -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Korns/KornFunctionFive.cs
r7025 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class KornFunctionFive : Regression Benchmark {27 public class KornFunctionFive : RegressionToyBenchmark { 28 28 29 29 public KornFunctionFive() { … … 46 46 } 47 47 48 protected override List<double> CalculateFunction(List<List<double>> data) {48 protected override List<double> GenerateTarget(List<List<double>> data) { 49 49 double x4; 50 50 List<double> results = new List<double>(); … … 56 56 } 57 57 58 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 58 protected override List<List<double>> GenerateInput() { 59 List<List<double>> dataList = new List<List<double>>(); 59 60 DoubleRange range = new DoubleRange(-50, 50); 60 61 for (int i = 0; i < inputVariables.Count; i++) { -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Korns/KornFunctionFiveteen.cs
r7025 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class KornFunctionFiveteen : Regression Benchmark {27 public class KornFunctionFiveteen : RegressionToyBenchmark { 28 28 29 29 public KornFunctionFiveteen() { … … 46 46 } 47 47 48 protected override List<double> CalculateFunction(List<List<double>> data) {48 protected override List<double> GenerateTarget(List<List<double>> data) { 49 49 double x0, x1, x2, x3; 50 50 List<double> results = new List<double>(); … … 59 59 } 60 60 61 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 61 protected override List<List<double>> GenerateInput() { 62 List<List<double>> dataList = new List<List<double>>(); 62 63 DoubleRange range = new DoubleRange(-50, 50); 63 64 for (int i = 0; i < inputVariables.Count; i++) { -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Korns/KornFunctionFour.cs
r7025 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class KornFunctionFour : Regression Benchmark {27 public class KornFunctionFour : RegressionToyBenchmark { 28 28 29 29 public KornFunctionFour() { … … 46 46 } 47 47 48 protected override List<double> CalculateFunction(List<List<double>> data) {48 protected override List<double> GenerateTarget(List<List<double>> data) { 49 49 double x2; 50 50 List<double> results = new List<double>(); … … 56 56 } 57 57 58 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 58 protected override List<List<double>> GenerateInput() { 59 List<List<double>> dataList = new List<List<double>>(); 59 60 DoubleRange range = new DoubleRange(-50, 50); 60 61 for (int i = 0; i < inputVariables.Count; i++) { -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Korns/KornFunctionFourteen.cs
r7025 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class KornFunctionFourteen : Regression Benchmark {27 public class KornFunctionFourteen : RegressionToyBenchmark { 28 28 29 29 public KornFunctionFourteen() { … … 46 46 } 47 47 48 protected override List<double> CalculateFunction(List<List<double>> data) {48 protected override List<double> GenerateTarget(List<List<double>> data) { 49 49 double x0, x1, x2, x3; 50 50 List<double> results = new List<double>(); … … 59 59 } 60 60 61 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 61 protected override List<List<double>> GenerateInput() { 62 List<List<double>> dataList = new List<List<double>>(); 62 63 DoubleRange range = new DoubleRange(-50, 50); 63 64 for (int i = 0; i < inputVariables.Count; i++) { -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Korns/KornFunctionNine.cs
r7025 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class KornFunctionNine : Regression Benchmark {27 public class KornFunctionNine : RegressionToyBenchmark { 28 28 29 29 public KornFunctionNine() { … … 46 46 } 47 47 48 protected override List<double> CalculateFunction(List<List<double>> data) {48 protected override List<double> GenerateTarget(List<List<double>> data) { 49 49 double x0, x1, x2, x3; 50 50 List<double> results = new List<double>(); … … 59 59 } 60 60 61 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 61 protected override List<List<double>> GenerateInput() { 62 List<List<double>> dataList = new List<List<double>>(); 62 63 DoubleRange range = new DoubleRange(-50, 50); 63 64 for (int i = 0; i < inputVariables.Count; i++) { -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Korns/KornFunctionOne.cs
r7025 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class KornsFunctionOne : Regression Benchmark {27 public class KornsFunctionOne : RegressionToyBenchmark { 28 28 29 29 public KornsFunctionOne() { … … 46 46 } 47 47 48 protected override List<double> CalculateFunction(List<List<double>> data) {48 protected override List<double> GenerateTarget(List<List<double>> data) { 49 49 double x3; 50 50 List<double> results = new List<double>(); … … 56 56 } 57 57 58 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 58 protected override List<List<double>> GenerateInput() { 59 List<List<double>> dataList = new List<List<double>>(); 59 60 DoubleRange range = new DoubleRange(-50, 50); 60 61 dataList.Add(RegressionBenchmark.GenerateUniformDistributedValues(testPartition.End, range)); -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Korns/KornFunctionSeven.cs
r7025 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class KornFunctionSeven : Regression Benchmark {27 public class KornFunctionSeven : RegressionToyBenchmark { 28 28 29 29 public KornFunctionSeven() { … … 46 46 } 47 47 48 protected override List<double> CalculateFunction(List<List<double>> data) {48 protected override List<double> GenerateTarget(List<List<double>> data) { 49 49 double x0; 50 50 List<double> results = new List<double>(); … … 56 56 } 57 57 58 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 58 protected override List<List<double>> GenerateInput() { 59 List<List<double>> dataList = new List<List<double>>(); 59 60 DoubleRange range = new DoubleRange(-50, 50); 60 61 for (int i = 0; i < inputVariables.Count; i++) { -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Korns/KornFunctionSix.cs
r7025 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class KornsFunctionSix : Regression Benchmark {27 public class KornsFunctionSix : RegressionToyBenchmark { 28 28 29 29 public KornsFunctionSix() { … … 46 46 } 47 47 48 protected override List<double> CalculateFunction(List<List<double>> data) {48 protected override List<double> GenerateTarget(List<List<double>> data) { 49 49 double x0; 50 50 List<double> results = new List<double>(); … … 56 56 } 57 57 58 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 58 protected override List<List<double>> GenerateInput() { 59 List<List<double>> dataList = new List<List<double>>(); 59 60 DoubleRange range = new DoubleRange(-50, 50); 60 61 for (int i = 0; i < inputVariables.Count; i++) { -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Korns/KornFunctionTen.cs
r7025 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class KornFunctionTen : Regression Benchmark {27 public class KornFunctionTen : RegressionToyBenchmark { 28 28 29 29 public KornFunctionTen() { … … 46 46 } 47 47 48 protected override List<double> CalculateFunction(List<List<double>> data) {48 protected override List<double> GenerateTarget(List<List<double>> data) { 49 49 double x1, x2, x3, x4; 50 50 List<double> results = new List<double>(); … … 59 59 } 60 60 61 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 61 protected override List<List<double>> GenerateInput() { 62 List<List<double>> dataList = new List<List<double>>(); 62 63 DoubleRange range = new DoubleRange(-50, 50); 63 64 for (int i = 0; i < inputVariables.Count; i++) { -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Korns/KornFunctionThirteen.cs
r7025 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class KornFunctionThirteen : Regression Benchmark {27 public class KornFunctionThirteen : RegressionToyBenchmark { 28 28 29 29 public KornFunctionThirteen() { … … 46 46 } 47 47 48 protected override List<double> CalculateFunction(List<List<double>> data) {48 protected override List<double> GenerateTarget(List<List<double>> data) { 49 49 double x0, x1, x2, x3; 50 50 List<double> results = new List<double>(); … … 59 59 } 60 60 61 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 61 protected override List<List<double>> GenerateInput() { 62 List<List<double>> dataList = new List<List<double>>(); 62 63 DoubleRange range = new DoubleRange(-50, 50); 63 64 for (int i = 0; i < inputVariables.Count; i++) { -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Korns/KornFunctionThree.cs
r7025 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class KornFunctionThree : Regression Benchmark {27 public class KornFunctionThree : RegressionToyBenchmark { 28 28 29 29 public KornFunctionThree() { … … 46 46 } 47 47 48 protected override List<double> CalculateFunction(List<List<double>> data) {48 protected override List<double> GenerateTarget(List<List<double>> data) { 49 49 double x0, x1, x3, x4; 50 50 List<double> results = new List<double>(); … … 59 59 } 60 60 61 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 61 protected override List<List<double>> GenerateInput() { 62 List<List<double>> dataList = new List<List<double>>(); 62 63 DoubleRange range = new DoubleRange(-50, 50); 63 64 for (int i = 0; i < inputVariables.Count; i++) { -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Korns/KornFunctionTwelve.cs
r7025 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class KornFunctionTwelve : Regression Benchmark {27 public class KornFunctionTwelve : RegressionToyBenchmark { 28 28 29 29 public KornFunctionTwelve() { … … 46 46 } 47 47 48 protected override List<double> CalculateFunction(List<List<double>> data) {48 protected override List<double> GenerateTarget(List<List<double>> data) { 49 49 double x0, x4; 50 50 List<double> results = new List<double>(); … … 57 57 } 58 58 59 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 59 protected override List<List<double>> GenerateInput() { 60 List<List<double>> dataList = new List<List<double>>(); 60 61 DoubleRange range = new DoubleRange(-50, 50); 61 62 for (int i = 0; i < inputVariables.Count; i++) { -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Korns/KornFunctionTwo.cs
r7025 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class KornFunctionTwo : Regression Benchmark {27 public class KornFunctionTwo : RegressionToyBenchmark { 28 28 29 29 public KornFunctionTwo() { … … 46 46 } 47 47 48 protected override List<double> CalculateFunction(List<List<double>> data) {48 protected override List<double> GenerateTarget(List<List<double>> data) { 49 49 double x1, x3, x4; 50 50 List<double> results = new List<double>(); … … 58 58 } 59 59 60 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 60 protected override List<List<double>> GenerateInput() { 61 List<List<double>> dataList = new List<List<double>>(); 61 62 DoubleRange range = new DoubleRange(-50, 50); 62 63 for (int i = 0; i < inputVariables.Count; i++) { -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Nguyen/NguyenFunctionEight.cs
r7025 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class NguyenFunctionEight : Regression Benchmark {27 public class NguyenFunctionEight : RegressionToyBenchmark { 28 28 29 29 public NguyenFunctionEight() { … … 41 41 } 42 42 43 protected override List<double> CalculateFunction(List<List<double>> data) {43 protected override List<double> GenerateTarget(List<List<double>> data) { 44 44 double x; 45 45 List<double> results = new List<double>(); … … 51 51 } 52 52 53 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 53 protected override List<List<double>> GenerateInput() { 54 List<List<double>> dataList = new List<List<double>>(); 54 55 DoubleRange range = new DoubleRange(0, 4); 55 56 dataList.Add(RegressionBenchmark.GenerateUniformDistributedValues(testPartition.End, range)); -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Nguyen/NguyenFunctionEleven.cs
r7025 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class NguyenFunctionEleven : Regression Benchmark {27 public class NguyenFunctionEleven : RegressionToyBenchmark { 28 28 29 29 public NguyenFunctionEleven() { … … 41 41 } 42 42 43 protected override List<double> CalculateFunction(List<List<double>> data) {43 protected override List<double> GenerateTarget(List<List<double>> data) { 44 44 double x, y; 45 45 List<double> results = new List<double>(); … … 52 52 } 53 53 54 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 54 protected override List<List<double>> GenerateInput() { 55 List<List<double>> dataList = new List<List<double>>(); 55 56 DoubleRange range = new DoubleRange(0, 1); 56 57 dataList.Add(RegressionBenchmark.GenerateUniformDistributedValues(testPartition.End, range)); -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Nguyen/NguyenFunctionFive.cs
r7025 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class NguyenFunctionFive : Regression Benchmark {27 public class NguyenFunctionFive : RegressionToyBenchmark { 28 28 29 29 public NguyenFunctionFive() { … … 41 41 } 42 42 43 protected override List<double> CalculateFunction(List<List<double>> data) {43 protected override List<double> GenerateTarget(List<List<double>> data) { 44 44 double x; 45 45 List<double> results = new List<double>(); … … 51 51 } 52 52 53 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 53 protected override List<List<double>> GenerateInput() { 54 List<List<double>> dataList = new List<List<double>>(); 54 55 DoubleRange range = new DoubleRange(-1, 1); 55 56 dataList.Add(RegressionBenchmark.GenerateUniformDistributedValues(testPartition.End, range)); -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Nguyen/NguyenFunctionFour.cs
r7025 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class NguyenFunctionFour : Regression Benchmark {27 public class NguyenFunctionFour : RegressionToyBenchmark { 28 28 29 29 public NguyenFunctionFour() { … … 41 41 } 42 42 43 protected override List<double> CalculateFunction(List<List<double>> data) {43 protected override List<double> GenerateTarget(List<List<double>> data) { 44 44 double x; 45 45 List<double> results = new List<double>(); … … 51 51 } 52 52 53 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 53 protected override List<List<double>> GenerateInput() { 54 List<List<double>> dataList = new List<List<double>>(); 54 55 DoubleRange range = new DoubleRange(-1, 1); 55 56 dataList.Add(RegressionBenchmark.GenerateUniformDistributedValues(testPartition.End, range)); -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Nguyen/NguyenFunctionNine.cs
r7025 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class NguyenFunctionNine : Regression Benchmark {27 public class NguyenFunctionNine : RegressionToyBenchmark { 28 28 29 29 public NguyenFunctionNine() { … … 41 41 } 42 42 43 protected override List<double> CalculateFunction(List<List<double>> data) {43 protected override List<double> GenerateTarget(List<List<double>> data) { 44 44 double x, y; 45 45 List<double> results = new List<double>(); … … 52 52 } 53 53 54 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 54 protected override List<List<double>> GenerateInput() { 55 List<List<double>> dataList = new List<List<double>>(); 55 56 DoubleRange range = new DoubleRange(0, 1); 56 57 dataList.Add(RegressionBenchmark.GenerateUniformDistributedValues(testPartition.End, range)); -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Nguyen/NguyenFunctionOne.cs
r7025 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class NguyenFunctionOne : Regression Benchmark {27 public class NguyenFunctionOne : RegressionToyBenchmark { 28 28 29 29 public NguyenFunctionOne() { … … 41 41 } 42 42 43 protected override List<double> CalculateFunction(List<List<double>> data) {43 protected override List<double> GenerateTarget(List<List<double>> data) { 44 44 double x; 45 45 List<double> results = new List<double>(); … … 51 51 } 52 52 53 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 53 protected override List<List<double>> GenerateInput() { 54 List<List<double>> dataList = new List<List<double>>(); 54 55 DoubleRange range = new DoubleRange(-1, 1); 55 56 dataList.Add(RegressionBenchmark.GenerateUniformDistributedValues(testPartition.End, range)); -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Nguyen/NguyenFunctionSeven.cs
r7025 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class NguyenFunctionSeven : Regression Benchmark {27 public class NguyenFunctionSeven : RegressionToyBenchmark { 28 28 29 29 public NguyenFunctionSeven() { … … 41 41 } 42 42 43 protected override List<double> CalculateFunction(List<List<double>> data) {43 protected override List<double> GenerateTarget(List<List<double>> data) { 44 44 double x; 45 45 List<double> results = new List<double>(); … … 51 51 } 52 52 53 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 53 protected override List<List<double>> GenerateInput() { 54 List<List<double>> dataList = new List<List<double>>(); 54 55 DoubleRange range = new DoubleRange(0, 2); 55 56 dataList.Add(RegressionBenchmark.GenerateUniformDistributedValues(testPartition.End, range)); -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Nguyen/NguyenFunctionSix.cs
r7025 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class NguyenFunctionSix : Regression Benchmark {27 public class NguyenFunctionSix : RegressionToyBenchmark { 28 28 29 29 public NguyenFunctionSix() { … … 41 41 } 42 42 43 protected override List<double> CalculateFunction(List<List<double>> data) {43 protected override List<double> GenerateTarget(List<List<double>> data) { 44 44 double x; 45 45 List<double> results = new List<double>(); … … 51 51 } 52 52 53 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 53 protected override List<List<double>> GenerateInput() { 54 List<List<double>> dataList = new List<List<double>>(); 54 55 DoubleRange range = new DoubleRange(1, -1); 55 56 dataList.Add(RegressionBenchmark.GenerateUniformDistributedValues(testPartition.End, range)); -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Nguyen/NguyenFunctionTen.cs
r7025 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class NguyenFunctionTen : Regression Benchmark {27 public class NguyenFunctionTen : RegressionToyBenchmark { 28 28 29 29 public NguyenFunctionTen() { … … 41 41 } 42 42 43 protected override List<double> CalculateFunction(List<List<double>> data) {43 protected override List<double> GenerateTarget(List<List<double>> data) { 44 44 double x, y; 45 45 List<double> results = new List<double>(); … … 52 52 } 53 53 54 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 54 protected override List<List<double>> GenerateInput() { 55 List<List<double>> dataList = new List<List<double>>(); 55 56 DoubleRange range = new DoubleRange(0, 1); 56 57 dataList.Add(RegressionBenchmark.GenerateUniformDistributedValues(testPartition.End, range)); -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Nguyen/NguyenFunctionThree.cs
r7025 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class NguyenFunctionThree : Regression Benchmark {27 public class NguyenFunctionThree : RegressionToyBenchmark { 28 28 29 29 public NguyenFunctionThree() { … … 41 41 } 42 42 43 protected override List<double> CalculateFunction(List<List<double>> data) {43 protected override List<double> GenerateTarget(List<List<double>> data) { 44 44 double x; 45 45 List<double> results = new List<double>(); … … 51 51 } 52 52 53 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 53 protected override List<List<double>> GenerateInput() { 54 List<List<double>> dataList = new List<List<double>>(); 54 55 DoubleRange range = new DoubleRange(-1, 1); 55 56 dataList.Add(RegressionBenchmark.GenerateUniformDistributedValues(testPartition.End, range)); -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Nguyen/NguyenFunctionTwelve.cs
r7025 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class NguyenFunctionTwelve : Regression Benchmark {27 public class NguyenFunctionTwelve : RegressionToyBenchmark { 28 28 29 29 public NguyenFunctionTwelve() { … … 41 41 } 42 42 43 protected override List<double> CalculateFunction(List<List<double>> data) {43 protected override List<double> GenerateTarget(List<List<double>> data) { 44 44 double x, y; 45 45 List<double> results = new List<double>(); … … 52 52 } 53 53 54 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 54 protected override List<List<double>> GenerateInput() { 55 List<List<double>> dataList = new List<List<double>>(); 55 56 DoubleRange range = new DoubleRange(0, 1); 56 57 dataList.Add(RegressionBenchmark.GenerateUniformDistributedValues(testPartition.End, range)); -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Nguyen/NguyenFunctionTwo.cs
r7025 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class NguyenFunctionTwo : Regression Benchmark {27 public class NguyenFunctionTwo : RegressionToyBenchmark { 28 28 29 29 public NguyenFunctionTwo() { … … 41 41 } 42 42 43 protected override List<double> CalculateFunction(List<List<double>> data) {43 protected override List<double> GenerateTarget(List<List<double>> data) { 44 44 double x; 45 45 List<double> results = new List<double>(); … … 51 51 } 52 52 53 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 53 protected override List<List<double>> GenerateInput() { 54 List<List<double>> dataList = new List<List<double>>(); 54 55 DoubleRange range = new DoubleRange(-1, 1); 55 56 dataList.Add(RegressionBenchmark.GenerateUniformDistributedValues(testPartition.End, range)); -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Vladislavleva/KotanchekFunction.cs
r7025 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class KotanchekFunction : Regression Benchmark {27 public class KotanchekFunction : RegressionToyBenchmark { 28 28 29 29 public KotanchekFunction() { … … 41 41 } 42 42 43 protected override List<double> CalculateFunction(List<List<double>> data) {43 protected override List<double> GenerateTarget(List<List<double>> data) { 44 44 double x1, x2; 45 45 List<double> results = new List<double>(); … … 52 52 } 53 53 54 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 54 protected override List<List<double>> GenerateInput() { 55 List<List<double>> dataList = new List<List<double>>(); 55 56 DoubleRange trainingRange = new DoubleRange(0.3, 4); 56 57 for (int i = 0; i < InputVariable.Count; i++) { -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Vladislavleva/RationalPolynomialThreeDimensional.cs
r7025 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class RationalPolynomial : Regression Benchmark {27 public class RationalPolynomial : RegressionToyBenchmark { 28 28 29 29 public RationalPolynomial() { … … 41 41 } 42 42 43 protected override List<double> CalculateFunction(List<List<double>> data) {43 protected override List<double> GenerateTarget(List<List<double>> data) { 44 44 double x1, x2, x3; 45 45 List<double> results = new List<double>(); … … 53 53 } 54 54 55 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 55 protected override List<List<double>> GenerateInput() { 56 List<List<double>> dataList = new List<List<double>>(); 56 57 dataList.Add(RegressionBenchmark.GenerateUniformDistributedValues(300, new DoubleRange(0.05, 2))); 57 58 dataList.Add(RegressionBenchmark.GenerateUniformDistributedValues(300, new DoubleRange(1, 2))); -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Vladislavleva/RationalPolynomialTwoDimensional.cs
r7025 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class RationalPolynomialTwoDimensional : Regression Benchmark {27 public class RationalPolynomialTwoDimensional : RegressionToyBenchmark { 28 28 29 29 public RationalPolynomialTwoDimensional() { … … 41 41 } 42 42 43 protected override List<double> CalculateFunction(List<List<double>> data) {43 protected override List<double> GenerateTarget(List<List<double>> data) { 44 44 double x1, x2; 45 45 List<double> results = new List<double>(); … … 52 52 } 53 53 54 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 54 protected override List<List<double>> GenerateInput() { 55 List<List<double>> dataList = new List<List<double>>(); 55 56 DoubleRange trainingRange = new DoubleRange(0.05, 6.05); 56 57 for (int i = 0; i < InputVariable.Count; i++) { -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Vladislavleva/RippleFunction.cs
r7025 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class RippleFunction : Regression Benchmark {27 public class RippleFunction : RegressionToyBenchmark { 28 28 29 29 public RippleFunction() { … … 41 41 } 42 42 43 protected override List<double> CalculateFunction(List<List<double>> data) {43 protected override List<double> GenerateTarget(List<List<double>> data) { 44 44 double x1, x2; 45 45 List<double> results = new List<double>(); … … 52 52 } 53 53 54 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 54 protected override List<List<double>> GenerateInput() { 55 List<List<double>> dataList = new List<List<double>>(); 55 56 DoubleRange range = new DoubleRange(0.05, 6.05); 56 57 for (int i = 0; i < InputVariable.Count; i++) { -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Vladislavleva/SalustowiczFunctionOneDimensional.cs
r7025 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class SalustowiczFunctionOneDimensional : Regression Benchmark {27 public class SalustowiczFunctionOneDimensional : RegressionToyBenchmark { 28 28 29 29 public SalustowiczFunctionOneDimensional() { … … 41 41 } 42 42 43 protected override List<double> CalculateFunction(List<List<double>> data) {43 protected override List<double> GenerateTarget(List<List<double>> data) { 44 44 double x; 45 45 List<double> results = new List<double>(); … … 51 51 } 52 52 53 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 53 protected override List<List<double>> GenerateInput() { 54 List<List<double>> dataList = new List<List<double>>(); 54 55 dataList.Add(RegressionBenchmark.GenerateSteps(new DoubleRange(0.05, 10), 0.1)); 55 56 dataList[0].AddRange(RegressionBenchmark.GenerateSteps(new DoubleRange(-0.5, 10.5), 0.05)); -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Vladislavleva/SalustowiczFunctionTwoDimensional.cs
r7025 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class SalustowiczFunctionTwoDimensional : Regression Benchmark {27 public class SalustowiczFunctionTwoDimensional : RegressionToyBenchmark { 28 28 29 29 public SalustowiczFunctionTwoDimensional() { … … 42 42 } 43 43 44 protected override List<double> CalculateFunction(List<List<double>> data) {44 protected override List<double> GenerateTarget(List<List<double>> data) { 45 45 double x1, x2; 46 46 List<double> results = new List<double>(); … … 53 53 } 54 54 55 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 55 protected override List<List<double>> GenerateInput() { 56 List<List<double>> dataList = new List<List<double>>(); 56 57 List<List<double>> trainingData = new List<List<double>>() { 57 58 RegressionBenchmark.GenerateSteps(new DoubleRange(0.05, 10), 0.1), -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Vladislavleva/SineCosineFunction.cs
r7025 r7044 25 25 26 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 public class SineCosineFunction : Regression Benchmark {27 public class SineCosineFunction : RegressionToyBenchmark { 28 28 29 29 public SineCosineFunction() { … … 41 41 } 42 42 43 protected override List<double> CalculateFunction(List<List<double>> data) {43 protected override List<double> GenerateTarget(List<List<double>> data) { 44 44 double x1, x2; 45 45 List<double> results = new List<double>(); … … 52 52 } 53 53 54 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 54 protected override List<List<double>> GenerateInput() { 55 List<List<double>> dataList = new List<List<double>>(); 55 56 DoubleRange trainingRange = new DoubleRange(0.1, 5.9); 56 57 for (int i = 0; i < InputVariable.Count; i++) { -
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/RegressionBenchmarks/Vladislavleva/UnwrappedBallFunctionFiveDimensional.cs
r7025 r7044 26 26 27 27 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 28 public class UnwrappedBallFunctionFiveDimensional : Regression Benchmark {28 public class UnwrappedBallFunctionFiveDimensional : RegressionToyBenchmark { 29 29 30 30 public UnwrappedBallFunctionFiveDimensional() { … … 42 42 } 43 43 44 protected override List<double> CalculateFunction(List<List<double>> data) {44 protected override List<double> GenerateTarget(List<List<double>> data) { 45 45 double x1, x2, x3, x4, x5; 46 46 List<double> results = new List<double>(); … … 56 56 } 57 57 58 protected override List<List<double>> GenerateInput(List<List<double>> dataList) { 58 protected override List<List<double>> GenerateInput() { 59 List<List<double>> dataList = new List<List<double>>(); 59 60 DoubleRange testRange = new DoubleRange(0.05, 6.05); 60 61 DoubleRange trainingRange = new DoubleRange(-0.25, 6.35);
Note: See TracChangeset
for help on using the changeset viewer.