Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/20/19 14:00:09 (4 years ago)
Author:
djoedick
Message:

#3044: Added transformation of input variables to problem data and created scaled dataset.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3044_variableScaling/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Transformations/Transformation.cs

    r17390 r17391  
    7474    /// <param name="allowedInputVariables"></param>
    7575    /// <returns></returns>
    76     public static ITransformation<double>[] CreateTransformations(ITransformation<double> transformation, IDataset dataset, int[] rows, IReadOnlyCollection<string> allowedInputVariables) {
    77       var trans = new ITransformation<double>[allowedInputVariables.Count];
     76    public static ITransformation<double>[] CreateTransformations(ITransformation<double> transformation, IDataset dataset, IEnumerable<int> rows, IEnumerable<string> allowedInputVariables) {
     77      var trans = new ITransformation<double>[allowedInputVariables.Count()];
    7878      int i = 0;
    7979      foreach (var variable in allowedInputVariables) {
Note: See TracChangeset for help on using the changeset viewer.