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.
Location:
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/PreprocessingContext.cs

    r10676 r10695  
    9393      problem.ProblemDataParameter.ActualValue = data;
    9494      problem.Name = "Preprocessed " + problem.Name;
    95 
    96       var symbolicProblem = problem as ISymbolicDataAnalysisProblem;
    97       if (symbolicProblem != null) {
    98         var tree = new SymbolicExpressionTree(new ProgramRootSymbol().CreateTreeNode());
    99         var variableNode = (VariableTreeNode)new Variable("dummy", "dummy description").CreateTreeNode();
    100         variableNode.VariableName = "dummy";
    101         tree.Root.AddSubtree(variableNode);
    102 
    103         symbolicProblem.TransformationsParameter.Value.Add(tree);
    104       }
    105 
    10695      return clone;
    10796    }
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/PreprocessingData.cs

    r10586 r10695  
    3939
    4040    protected double trainingToTestRatio;
     41
     42    protected IList<ITransformation> transformations;
    4143
    4244    protected PreprocessingData(PreprocessingData original, Cloner cloner)
     
    161163    }
    162164
     165    public IList<ITransformation> Transformations {
     166      get { return transformations; }
     167    }
     168
    163169    public string GetVariableName(int columnIndex) {
    164170      return variableNames[columnIndex];
Note: See TracChangeset for help on using the changeset viewer.