Free cookie consent management tool by TermsFeed Policy Generator

Changeset 16015


Ignore:
Timestamp:
07/25/18 11:36:10 (6 years ago)
Author:
fholzing
Message:

#2871: Fixed bug where factory-variables would be ignored

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression/RegressionSolutionVariableImpactsView.cs

    r15998 r16015  
    147147        var problemData = Content.ProblemData;
    148148        var inputvariables = new HashSet<string>(problemData.AllowedInputVariables.Union(Content.Model.VariablesUsedForPrediction));
    149         var originalVariableOrdering = problemData.Dataset.VariableNames.Where(v => inputvariables.Contains(v)).Where(problemData.Dataset.VariableHasType<double>).ToList();
     149        var originalVariableOrdering = problemData.Dataset.VariableNames
     150          .Where(v => inputvariables.Contains(v))
     151          .Where(v => problemData.Dataset.VariableHasType<double>(v) || problemData.Dataset.VariableHasType<string>(v))
     152          .ToList();
    150153
    151154        rawVariableImpacts.Clear();
Note: See TracChangeset for help on using the changeset viewer.