Changeset 9013
- Timestamp:
- 12/07/12 12:56:18 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/Vladislavleva/KotanchekFunction.cs
r8999 r9013 34 34 + "Function: F1(X1, X2) = exp(-(X1 - 1))² / (1.2 + (X2 -2.5)²" + Environment.NewLine 35 35 + "Training Data: 100 points X1, X2 = Rand(0.3, 4)" + Environment.NewLine 36 + "Test Data: 4 41*441 points (X1, X2) = (-0.2:0.01:4.2)" + Environment.NewLine36 + "Test Data: 45*45 points (X1, X2) = (-0.2:0.1:4.2)" + Environment.NewLine 37 37 + "Function Set: +, -, *, /, square, e^x, e^-x, x^eps, x + eps, x * eps"; 38 38 } … … 44 44 protected override int TrainingPartitionEnd { get { return 100; } } 45 45 protected override int TestPartitionStart { get { return 100; } } 46 protected override int TestPartitionEnd { get { return 100 + (4 41 * 441); } }46 protected override int TestPartitionEnd { get { return 100 + (45 * 45); } } 47 47 48 48 protected override List<List<double>> GenerateValues() { 49 49 List<List<double>> data = new List<List<double>>(); 50 50 51 List<double> oneVariableTestData = ValueGenerator.GenerateSteps(-0.2, 4.2, 0. 01).ToList();51 List<double> oneVariableTestData = ValueGenerator.GenerateSteps(-0.2, 4.2, 0.1).ToList(); 52 52 List<List<double>> testData = new List<List<double>>() { oneVariableTestData, oneVariableTestData }; 53 53 var combinations = ValueGenerator.GenerateAllCombinationsOfValuesInLists(testData).ToList<IEnumerable<double>>();
Note: See TracChangeset
for help on using the changeset viewer.