- Timestamp:
- 05/30/14 11:51:24 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis.Trading/3.4/ProblemData.cs
r10772 r10922 1628 1628 } 1629 1629 1630 public ProblemData(Dataset dataset, IEnumerable<string> allowedInputVariables, string targetVariable, I Enumerable<ITransformation> transformations = null)1631 : base(dataset, allowedInputVariables, transformations ?? Enumerable.Empty<ITransformation>()) {1630 public ProblemData(Dataset dataset, IEnumerable<string> allowedInputVariables, string targetVariable, IList<ITransformation> transformations = null) 1631 : base(dataset, allowedInputVariables, transformations ?? new List<ITransformation>()) { 1632 1632 var variables = InputVariables.Select(x => x.AsReadOnly()).ToList(); 1633 1633 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.