- Timestamp:
- 07/01/14 17:42:44 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis.Trading/3.4/ProblemData.cs
r11068 r11070 1627 1627 } 1628 1628 1629 public ProblemData(Dataset dataset, IEnumerable<string> allowedInputVariables, string targetVariable, I List<ITransformation> transformations = null)1630 : base(dataset, allowedInputVariables, transformations ?? new List<ITransformation>()) {1629 public ProblemData(Dataset dataset, IEnumerable<string> allowedInputVariables, string targetVariable, IEnumerable<ITransformation> transformations = null) 1630 : base(dataset, allowedInputVariables, transformations ?? Enumerable.Empty<ITransformation>()) { 1631 1631 var variables = InputVariables.Select(x => x.AsReadOnly()).ToList(); 1632 1632 Parameters.Add(new ConstrainedValueParameter<StringValue>(PriceChangeVariableParameterName, new ItemSet<StringValue>(variables), variables.First(x => x.Value == targetVariable)));
Note: See TracChangeset
for help on using the changeset viewer.