Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/02/12 10:55:26 (13 years ago)
Author:
sforsten
Message:

#1784:

  • added Problem.Instances.Classification project
  • added classification problem instances
  • added a class Transformer to Problem.Instances
Location:
branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Problems.Instances.Regression/3.4/Korns
Files:
15 edited

Legend:

Unmodified
Added
Removed
  • branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Problems.Instances.Regression/3.4/Korns/KornsFunctionEight.cs

    r7664 r7682  
    4545    }
    4646    protected override string TargetVariable { get { return "Y"; } }
    47     protected override IEnumerable<string> InputVariables { get { return new List<string>() { "X0", "X1", "X2", "X3", "X4", "Y" }; } }
    48     protected override IEnumerable<string> AllowedInputVariables { get { return new List<string>() { "X0", "X1", "X2", "X3", "X4" }; } }
     47    protected override string[] InputVariables { get { return new string[] { "X0", "X1", "X2", "X3", "X4", "Y" }; } }
     48    protected override string[] AllowedInputVariables { get { return new string[] { "X0", "X1", "X2", "X3", "X4" }; } }
    4949    protected override int TrainingPartitionStart { get { return 0; } }
    5050    protected override int TrainingPartitionEnd { get { return 5000; } }
     
    5252    protected override int TestPartitionEnd { get { return 10000; } }
    5353
    54     protected override double[,] GenerateValues() {
     54    protected override List<List<double>> GenerateValues() {
    5555      List<List<double>> data = new List<List<double>>();
    5656      for (int i = 0; i < AllowedInputVariables.Count(); i++) {
     
    6868      data.Add(results);
    6969
    70       return ValueGenerator.Transformation(data);
     70      return data;
    7171    }
    7272  }
  • branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Problems.Instances.Regression/3.4/Korns/KornsFunctionEleven.cs

    r7664 r7682  
    4444    }
    4545    protected override string TargetVariable { get { return "Y"; } }
    46     protected override IEnumerable<string> InputVariables { get { return new List<string>() { "X0", "X1", "X2", "X3", "X4", "Y" }; } }
    47     protected override IEnumerable<string> AllowedInputVariables { get { return new List<string>() { "X0", "X1", "X2", "X3", "X4" }; } }
     46    protected override string[] InputVariables { get { return new string[] { "X0", "X1", "X2", "X3", "X4", "Y" }; } }
     47    protected override string[] AllowedInputVariables { get { return new string[] { "X0", "X1", "X2", "X3", "X4" }; } }
    4848    protected override int TrainingPartitionStart { get { return 0; } }
    4949    protected override int TrainingPartitionEnd { get { return 5000; } }
     
    5151    protected override int TestPartitionEnd { get { return 10000; } }
    5252
    53     protected override double[,] GenerateValues() {
     53    protected override List<List<double>> GenerateValues() {
    5454      List<List<double>> data = new List<List<double>>();
    5555      for (int i = 0; i < AllowedInputVariables.Count(); i++) {
     
    6565      data.Add(results);
    6666
    67       return ValueGenerator.Transformation(data);
     67      return data;
    6868    }
    6969  }
  • branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Problems.Instances.Regression/3.4/Korns/KornsFunctionFive.cs

    r7664 r7682  
    4545    }
    4646    protected override string TargetVariable { get { return "Y"; } }
    47     protected override IEnumerable<string> InputVariables { get { return new List<string>() { "X0", "X1", "X2", "X3", "X4", "Y" }; } }
    48     protected override IEnumerable<string> AllowedInputVariables { get { return new List<string>() { "X0", "X1", "X2", "X3", "X4" }; } }
     47    protected override string[] InputVariables { get { return new string[] { "X0", "X1", "X2", "X3", "X4", "Y" }; } }
     48    protected override string[] AllowedInputVariables { get { return new string[] { "X0", "X1", "X2", "X3", "X4" }; } }
    4949    protected override int TrainingPartitionStart { get { return 0; } }
    5050    protected override int TrainingPartitionEnd { get { return 5000; } }
     
    5252    protected override int TestPartitionEnd { get { return 10000; } }
    5353
    54     protected override double[,] GenerateValues() {
     54    protected override List<List<double>> GenerateValues() {
    5555      List<List<double>> data = new List<List<double>>();
    5656      for (int i = 0; i < AllowedInputVariables.Count(); i++) {
     
    6666      data.Add(results);
    6767
    68       return ValueGenerator.Transformation(data);
     68      return data;
    6969    }
    7070  }
  • branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Problems.Instances.Regression/3.4/Korns/KornsFunctionFiveteen.cs

    r7664 r7682  
    4545    }
    4646    protected override string TargetVariable { get { return "Y"; } }
    47     protected override IEnumerable<string> InputVariables { get { return new List<string>() { "X0", "X1", "X2", "X3", "X4", "Y" }; } }
    48     protected override IEnumerable<string> AllowedInputVariables { get { return new List<string>() { "X0", "X1", "X2", "X3", "X4" }; } }
     47    protected override string[] InputVariables { get { return new string[] { "X0", "X1", "X2", "X3", "X4", "Y" }; } }
     48    protected override string[] AllowedInputVariables { get { return new string[] { "X0", "X1", "X2", "X3", "X4" }; } }
    4949    protected override int TrainingPartitionStart { get { return 0; } }
    5050    protected override int TrainingPartitionEnd { get { return 5000; } }
     
    5252    protected override int TestPartitionEnd { get { return 10000; } }
    5353
    54     protected override double[,] GenerateValues() {
     54    protected override List<List<double>> GenerateValues() {
    5555      List<List<double>> data = new List<List<double>>();
    5656      for (int i = 0; i < AllowedInputVariables.Count(); i++) {
     
    6969      data.Add(results);
    7070
    71       return ValueGenerator.Transformation(data);
     71      return data;
    7272    }
    7373  }
  • branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Problems.Instances.Regression/3.4/Korns/KornsFunctionFour.cs

    r7664 r7682  
    4444    }
    4545    protected override string TargetVariable { get { return "Y"; } }
    46     protected override IEnumerable<string> InputVariables { get { return new List<string>() { "X0", "X1", "X2", "X3", "X4", "Y" }; } }
    47     protected override IEnumerable<string> AllowedInputVariables { get { return new List<string>() { "X0", "X1", "X2", "X3", "X4" }; } }
     46    protected override string[] InputVariables { get { return new string[] { "X0", "X1", "X2", "X3", "X4", "Y" }; } }
     47    protected override string[] AllowedInputVariables { get { return new string[] { "X0", "X1", "X2", "X3", "X4" }; } }
    4848    protected override int TrainingPartitionStart { get { return 0; } }
    4949    protected override int TrainingPartitionEnd { get { return 5000; } }
     
    5151    protected override int TestPartitionEnd { get { return 10000; } }
    5252
    53     protected override double[,] GenerateValues() {
     53    protected override List<List<double>> GenerateValues() {
    5454      List<List<double>> data = new List<List<double>>();
    5555      for (int i = 0; i < AllowedInputVariables.Count(); i++) {
     
    6565      data.Add(results);
    6666
    67       return ValueGenerator.Transformation(data);
     67      return data;
    6868    }
    6969  }
  • branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Problems.Instances.Regression/3.4/Korns/KornsFunctionFourteen.cs

    r7664 r7682  
    4444    }
    4545    protected override string TargetVariable { get { return "Y"; } }
    46     protected override IEnumerable<string> InputVariables { get { return new List<string>() { "X0", "X1", "X2", "X3", "X4", "Y" }; } }
    47     protected override IEnumerable<string> AllowedInputVariables { get { return new List<string>() { "X0", "X1", "X2", "X3", "X4" }; } }
     46    protected override string[] InputVariables { get { return new string[] { "X0", "X1", "X2", "X3", "X4", "Y" }; } }
     47    protected override string[] AllowedInputVariables { get { return new string[] { "X0", "X1", "X2", "X3", "X4" }; } }
    4848    protected override int TrainingPartitionStart { get { return 0; } }
    4949    protected override int TrainingPartitionEnd { get { return 5000; } }
     
    5151    protected override int TestPartitionEnd { get { return 10000; } }
    5252
    53     protected override double[,] GenerateValues() {
     53    protected override List<List<double>> GenerateValues() {
    5454      List<List<double>> data = new List<List<double>>();
    5555      for (int i = 0; i < AllowedInputVariables.Count(); i++) {
     
    6868      data.Add(results);
    6969
    70       return ValueGenerator.Transformation(data);
     70      return data;
    7171    }
    7272  }
  • branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Problems.Instances.Regression/3.4/Korns/KornsFunctionNine.cs

    r7664 r7682  
    4545    }
    4646    protected override string TargetVariable { get { return "Y"; } }
    47     protected override IEnumerable<string> InputVariables { get { return new List<string>() { "X0", "X1", "X2", "X3", "X4", "Y" }; } }
    48     protected override IEnumerable<string> AllowedInputVariables { get { return new List<string>() { "X0", "X1", "X2", "X3", "X4" }; } }
     47    protected override string[] InputVariables { get { return new string[] { "X0", "X1", "X2", "X3", "X4", "Y" }; } }
     48    protected override string[] AllowedInputVariables { get { return new string[] { "X0", "X1", "X2", "X3", "X4" }; } }
    4949    protected override int TrainingPartitionStart { get { return 0; } }
    5050    protected override int TrainingPartitionEnd { get { return 5000; } }
     
    5252    protected override int TestPartitionEnd { get { return 10000; } }
    5353
    54     protected override double[,] GenerateValues() {
     54    protected override List<List<double>> GenerateValues() {
    5555      List<List<double>> data = new List<List<double>>();
    5656      for (int i = 0; i < AllowedInputVariables.Count(); i++) {
     
    6969      data.Add(results);
    7070
    71       return ValueGenerator.Transformation(data);
     71      return data;
    7272    }
    7373  }
  • branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Problems.Instances.Regression/3.4/Korns/KornsFunctionOne.cs

    r7664 r7682  
    4444    }
    4545    protected override string TargetVariable { get { return "Y"; } }
    46     protected override IEnumerable<string> InputVariables { get { return new List<string>() { "X0", "X1", "X2", "X3", "X4", "Y" }; } }
    47     protected override IEnumerable<string> AllowedInputVariables { get { return new List<string>() { "X0", "X1", "X2", "X3", "X4" }; } }
     46    protected override string[] InputVariables { get { return new string[] { "X0", "X1", "X2", "X3", "X4", "Y" }; } }
     47    protected override string[] AllowedInputVariables { get { return new string[] { "X0", "X1", "X2", "X3", "X4" }; } }
    4848    protected override int TrainingPartitionStart { get { return 0; } }
    4949    protected override int TrainingPartitionEnd { get { return 5000; } }
     
    5151    protected override int TestPartitionEnd { get { return 10000; } }
    5252
    53     protected override double[,] GenerateValues() {
     53    protected override List<List<double>> GenerateValues() {
    5454      List<List<double>> data = new List<List<double>>();
    5555      for (int i = 0; i < AllowedInputVariables.Count(); i++) {
     
    6565      data.Add(results);
    6666
    67       return ValueGenerator.Transformation(data);
     67      return data;
    6868    }
    6969  }
  • branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Problems.Instances.Regression/3.4/Korns/KornsFunctionSeven.cs

    r7664 r7682  
    4444    }
    4545    protected override string TargetVariable { get { return "Y"; } }
    46     protected override IEnumerable<string> InputVariables { get { return new List<string>() { "X0", "X1", "X2", "X3", "X4", "Y" }; } }
    47     protected override IEnumerable<string> AllowedInputVariables { get { return new List<string>() { "X0", "X1", "X2", "X3", "X4" }; } }
     46    protected override string[] InputVariables { get { return new string[] { "X0", "X1", "X2", "X3", "X4", "Y" }; } }
     47    protected override string[] AllowedInputVariables { get { return new string[] { "X0", "X1", "X2", "X3", "X4" }; } }
    4848    protected override int TrainingPartitionStart { get { return 0; } }
    4949    protected override int TrainingPartitionEnd { get { return 5000; } }
     
    5151    protected override int TestPartitionEnd { get { return 10000; } }
    5252
    53     protected override double[,] GenerateValues() {
     53    protected override List<List<double>> GenerateValues() {
    5454      List<List<double>> data = new List<List<double>>();
    5555      for (int i = 0; i < AllowedInputVariables.Count(); i++) {
     
    6565      data.Add(results);
    6666
    67       return ValueGenerator.Transformation(data);
     67      return data;
    6868    }
    6969  }
  • branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Problems.Instances.Regression/3.4/Korns/KornsFunctionSix.cs

    r7664 r7682  
    4545    }
    4646    protected override string TargetVariable { get { return "Y"; } }
    47     protected override IEnumerable<string> InputVariables { get { return new List<string>() { "X0", "X1", "X2", "X3", "X4", "Y" }; } }
    48     protected override IEnumerable<string> AllowedInputVariables { get { return new List<string>() { "X0", "X1", "X2", "X3", "X4" }; } }
     47    protected override string[] InputVariables { get { return new string[] { "X0", "X1", "X2", "X3", "X4", "Y" }; } }
     48    protected override string[] AllowedInputVariables { get { return new string[] { "X0", "X1", "X2", "X3", "X4" }; } }
    4949    protected override int TrainingPartitionStart { get { return 0; } }
    5050    protected override int TrainingPartitionEnd { get { return 5000; } }
     
    5252    protected override int TestPartitionEnd { get { return 10000; } }
    5353
    54     protected override double[,] GenerateValues() {
     54    protected override List<List<double>> GenerateValues() {
    5555      List<List<double>> data = new List<List<double>>();
    5656      for (int i = 0; i < AllowedInputVariables.Count(); i++) {
     
    6666      data.Add(results);
    6767
    68       return ValueGenerator.Transformation(data);
     68      return data;
    6969    }
    7070  }
  • branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Problems.Instances.Regression/3.4/Korns/KornsFunctionTen.cs

    r7664 r7682  
    4444    }
    4545    protected override string TargetVariable { get { return "Y"; } }
    46     protected override IEnumerable<string> InputVariables { get { return new List<string>() { "X0", "X1", "X2", "X3", "X4", "Y" }; } }
    47     protected override IEnumerable<string> AllowedInputVariables { get { return new List<string>() { "X0", "X1", "X2", "X3", "X4" }; } }
     46    protected override string[] InputVariables { get { return new string[] { "X0", "X1", "X2", "X3", "X4", "Y" }; } }
     47    protected override string[] AllowedInputVariables { get { return new string[] { "X0", "X1", "X2", "X3", "X4" }; } }
    4848    protected override int TrainingPartitionStart { get { return 0; } }
    4949    protected override int TrainingPartitionEnd { get { return 5000; } }
     
    5151    protected override int TestPartitionEnd { get { return 10000; } }
    5252
    53     protected override double[,] GenerateValues() {
     53    protected override List<List<double>> GenerateValues() {
    5454      List<List<double>> data = new List<List<double>>();
    5555      for (int i = 0; i < AllowedInputVariables.Count(); i++) {
     
    6868      data.Add(results);
    6969
    70       return ValueGenerator.Transformation(data);
     70      return data;
    7171    }
    7272  }
  • branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Problems.Instances.Regression/3.4/Korns/KornsFunctionThirteen.cs

    r7664 r7682  
    4444    }
    4545    protected override string TargetVariable { get { return "Y"; } }
    46     protected override IEnumerable<string> InputVariables { get { return new List<string>() { "X0", "X1", "X2", "X3", "X4", "Y" }; } }
    47     protected override IEnumerable<string> AllowedInputVariables { get { return new List<string>() { "X0", "X1", "X2", "X3", "X4" }; } }
     46    protected override string[] InputVariables { get { return new string[] { "X0", "X1", "X2", "X3", "X4", "Y" }; } }
     47    protected override string[] AllowedInputVariables { get { return new string[] { "X0", "X1", "X2", "X3", "X4" }; } }
    4848    protected override int TrainingPartitionStart { get { return 0; } }
    4949    protected override int TrainingPartitionEnd { get { return 5000; } }
     
    5151    protected override int TestPartitionEnd { get { return 10000; } }
    5252
    53     protected override double[,] GenerateValues() {
     53    protected override List<List<double>> GenerateValues() {
    5454      List<List<double>> data = new List<List<double>>();
    5555      for (int i = 0; i < AllowedInputVariables.Count(); i++) {
     
    6868      data.Add(results);
    6969
    70       return ValueGenerator.Transformation(data);
     70      return data;
    7171    }
    7272  }
  • branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Problems.Instances.Regression/3.4/Korns/KornsFunctionThree.cs

    r7664 r7682  
    4444    }
    4545    protected override string TargetVariable { get { return "Y"; } }
    46     protected override IEnumerable<string> InputVariables { get { return new List<string>() { "X0", "X1", "X2", "X3", "X4", "Y" }; } }
    47     protected override IEnumerable<string> AllowedInputVariables { get { return new List<string>() { "X0", "X1", "X2", "X3", "X4" }; } }
     46    protected override string[] InputVariables { get { return new string[] { "X0", "X1", "X2", "X3", "X4", "Y" }; } }
     47    protected override string[] AllowedInputVariables { get { return new string[] { "X0", "X1", "X2", "X3", "X4" }; } }
    4848    protected override int TrainingPartitionStart { get { return 0; } }
    4949    protected override int TrainingPartitionEnd { get { return 5000; } }
     
    5151    protected override int TestPartitionEnd { get { return 10000; } }
    5252
    53     protected override double[,] GenerateValues() {
     53    protected override List<List<double>> GenerateValues() {
    5454      List<List<double>> data = new List<List<double>>();
    5555      for (int i = 0; i < AllowedInputVariables.Count(); i++) {
     
    6868      data.Add(results);
    6969
    70       return ValueGenerator.Transformation(data);
     70      return data;
    7171    }
    7272  }
  • branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Problems.Instances.Regression/3.4/Korns/KornsFunctionTwelve.cs

    r7664 r7682  
    4444    }
    4545    protected override string TargetVariable { get { return "Y"; } }
    46     protected override IEnumerable<string> InputVariables { get { return new List<string>() { "X0", "X1", "X2", "X3", "X4", "Y" }; } }
    47     protected override IEnumerable<string> AllowedInputVariables { get { return new List<string>() { "X0", "X1", "X2", "X3", "X4" }; } }
     46    protected override string[] InputVariables { get { return new string[] { "X0", "X1", "X2", "X3", "X4", "Y" }; } }
     47    protected override string[] AllowedInputVariables { get { return new string[] { "X0", "X1", "X2", "X3", "X4" }; } }
    4848    protected override int TrainingPartitionStart { get { return 0; } }
    4949    protected override int TrainingPartitionEnd { get { return 5000; } }
     
    5151    protected override int TestPartitionEnd { get { return 10000; } }
    5252
    53     protected override double[,] GenerateValues() {
     53    protected override List<List<double>> GenerateValues() {
    5454      List<List<double>> data = new List<List<double>>();
    5555      for (int i = 0; i < AllowedInputVariables.Count(); i++) {
     
    6666      data.Add(results);
    6767
    68       return ValueGenerator.Transformation(data);
     68      return data;
    6969    }
    7070  }
  • branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Problems.Instances.Regression/3.4/Korns/KornsFunctionTwo.cs

    r7664 r7682  
    4444    }
    4545    protected override string TargetVariable { get { return "Y"; } }
    46     protected override IEnumerable<string> InputVariables { get { return new List<string>() { "X0", "X1", "X2", "X3", "X4", "Y" }; } }
    47     protected override IEnumerable<string> AllowedInputVariables { get { return new List<string>() { "X0", "X1", "X2", "X3", "X4" }; } }
     46    protected override string[] InputVariables { get { return new string[] { "X0", "X1", "X2", "X3", "X4", "Y" }; } }
     47    protected override string[] AllowedInputVariables { get { return new string[] { "X0", "X1", "X2", "X3", "X4" }; } }
    4848    protected override int TrainingPartitionStart { get { return 0; } }
    4949    protected override int TrainingPartitionEnd { get { return 5000; } }
     
    5151    protected override int TestPartitionEnd { get { return 10000; } }
    5252
    53     protected override double[,] GenerateValues() {
     53    protected override List<List<double>> GenerateValues() {
    5454      List<List<double>> data = new List<List<double>>();
    5555      for (int i = 0; i < AllowedInputVariables.Count(); i++) {
     
    6767      data.Add(results);
    6868
    69       return ValueGenerator.Transformation(data);
     69      return data;
    7070    }
    7171  }
Note: See TracChangeset for help on using the changeset viewer.