Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/02/14 11:38:44 (11 years ago)
Author:
pfleck
Message:
  • Added Transformations to PreprocessingData
  • Added Transformations to DataAnalysisProblemData Parameters
  • Removed SymbolicExpressionTree as inverse transformation.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionProblemData.cs

    r9456 r10695  
    129129    }
    130130
    131     public RegressionProblemData(Dataset dataset, IEnumerable<string> allowedInputVariables, string targetVariable)
    132       : base(dataset, allowedInputVariables) {
     131    public RegressionProblemData(Dataset dataset, IEnumerable<string> allowedInputVariables, string targetVariable, IEnumerable<ITransformation> transformations = null)
     132      : base(dataset, allowedInputVariables, transformations ?? Enumerable.Empty<ITransformation>()) {
    133133      var variables = InputVariables.Select(x => x.AsReadOnly()).ToList();
    134134      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.