Changeset 16128 for branches/2904_CalculateImpacts
- Timestamp:
- 09/07/18 10:21:36 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2904_CalculateImpacts/3.4/Implementation/Regression/RegressionSolutionVariableImpactsCalculator.cs
r16052 r16128 189 189 } else if (modifiableDataset.VariableHasType<string>(variableName)) { 190 190 originalValues = modifiableDataset.GetReadOnlyStringValues(variableName).ToList(); 191 replacementValues = GetReplacementValuesForString(model, modifiableDataset, variableName, rows, originalValues, targetValues, factorReplacementMethod);191 replacementValues = GetReplacementValuesForString(model, modifiableDataset, variableName, rows, (List<string>)originalValues, targetValues, factorReplacementMethod); 192 192 } else { 193 193 throw new NotSupportedException("Variable not supported"); … … 249 249 string variableName, 250 250 IEnumerable<int> rows, 251 IListoriginalValues,251 List<string> originalValues, 252 252 IEnumerable<double> targetValues, 253 253 FactorReplacementMethodEnum factorReplacementMethod = FactorReplacementMethodEnum.Shuffle) { 254 254 255 IListreplacementValues = null;255 List<string> replacementValues = null; 256 256 IRandom random = new FastRandom(31415); 257 257
Note: See TracChangeset
for help on using the changeset viewer.