- Timestamp:
- 08/09/16 15:34:33 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/symbreg-factors-2650/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionSolutionVariableImpactsCalculator.cs
r14238 r14249 187 187 } 188 188 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) { 190 191 var originalValues = dataset.GetReadOnlyDoubleValues(variable).ToList(); 191 192 dataset.ReplaceVariable(variable, replacementValues.ToList()); … … 196 197 return estimates; 197 198 } 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) { 199 201 var originalValues = dataset.GetReadOnlyStringValues(variable).ToList(); 200 202 dataset.ReplaceVariable(variable, replacementValues.ToList());
Note: See TracChangeset
for help on using the changeset viewer.