Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/09/16 15:34:33 (8 years ago)
Author:
gkronber
Message:

#2650 added new symbol FactorVariable (renamed previous symbol to BinaryFactorVariable)
Work in progress.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/symbreg-factors-2650/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionSolutionVariableImpactsCalculator.cs

    r14238 r14249  
    187187    }
    188188
    189     private static IEnumerable<double> EvaluateModelWithReplacedVariable(IRegressionModel model, string variable, ModifiableDataset dataset, IEnumerable<int> rows, IEnumerable<double> replacementValues) {
     189    private static IEnumerable<double> EvaluateModelWithReplacedVariable(IRegressionModel model, string variable,
     190      ModifiableDataset dataset, IEnumerable<int> rows, IEnumerable<double> replacementValues) {
    190191      var originalValues = dataset.GetReadOnlyDoubleValues(variable).ToList();
    191192      dataset.ReplaceVariable(variable, replacementValues.ToList());
     
    196197      return estimates;
    197198    }
    198     private static IEnumerable<double> EvaluateModelWithReplacedVariable(IRegressionModel model, string variable, ModifiableDataset dataset, IEnumerable<int> rows, IEnumerable<string> replacementValues) {
     199    private static IEnumerable<double> EvaluateModelWithReplacedVariable(IRegressionModel model, string variable,
     200      ModifiableDataset dataset, IEnumerable<int> rows, IEnumerable<string> replacementValues) {
    199201      var originalValues = dataset.GetReadOnlyStringValues(variable).ToList();
    200202      dataset.ReplaceVariable(variable, replacementValues.ToList());
Note: See TracChangeset for help on using the changeset viewer.