Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/30/14 11:51:24 (10 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/3.4/Implementation/Regression/RegressionProblemData.cs

    r10772 r10922  
    130130    }
    131131
    132     public RegressionProblemData(Dataset dataset, IEnumerable<string> allowedInputVariables, string targetVariable, IEnumerable<ITransformation> transformations = null)
    133       : base(dataset, allowedInputVariables, transformations ?? Enumerable.Empty<ITransformation>()) {
     132    public RegressionProblemData(Dataset dataset, IEnumerable<string> allowedInputVariables, string targetVariable, IList<ITransformation> transformations = null)
     133      : base(dataset, allowedInputVariables, transformations ?? new List<ITransformation>()) {
    134134      var variables = InputVariables.Select(x => x.AsReadOnly()).ToList();
    135135      Parameters.Add(new ConstrainedValueParameter<StringValue>(TargetVariableParameterName, new ItemSet<StringValue>(variables), variables.Where(x => x.Value == targetVariable).First()));
Note: See TracChangeset for help on using the changeset viewer.