Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/30/14 11:51:24 (11 years ago)
Author:
pfleck
Message:
  • changed storage of Transformations from Collection to List.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis.Trading/3.4/ProblemData.cs

    r10772 r10922  
    16281628    }
    16291629
    1630     public ProblemData(Dataset dataset, IEnumerable<string> allowedInputVariables, string targetVariable, IEnumerable<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>()) {
    16321632      var variables = InputVariables.Select(x => x.AsReadOnly()).ToList();
    16331633      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.