Changeset 16181
- Timestamp:
- 09/25/18 08:52:47 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2904_CalculateImpacts/3.4/Implementation/Classification/ClassificationSolutionVariableImpactsCalculator.cs
r16055 r16181 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.