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/Classification/ClassificationProblemData.cs

    r10772 r10922  
    292292    }
    293293
    294     public ClassificationProblemData(Dataset dataset, IEnumerable<string> allowedInputVariables, string targetVariable, IEnumerable<ITransformation> transformations = null)
    295       : base(dataset, allowedInputVariables, transformations ?? Enumerable.Empty<ITransformation>()) {
     294    public ClassificationProblemData(Dataset dataset, IEnumerable<string> allowedInputVariables, string targetVariable, IList<ITransformation> transformations = null)
     295      : base(dataset, allowedInputVariables, transformations ?? new List<ITransformation>()) {
    296296      var validTargetVariableValues = CheckVariablesForPossibleTargetVariables(dataset).Select(x => new StringValue(x).AsReadOnly()).ToList();
    297297      var target = validTargetVariableValues.Where(x => x.Value == targetVariable).DefaultIfEmpty(validTargetVariableValues.First()).First();
Note: See TracChangeset for help on using the changeset viewer.