Changeset 5664 for branches/DataAnalysis Refactoring/HeuristicLab.Algorithms.DataAnalysis/3.4/Linear
- Timestamp:
- 03/10/11 16:27:48 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysis Refactoring/HeuristicLab.Algorithms.DataAnalysis/3.4/Linear/LinearDiscriminantAnalysis.cs
r5658 r5664 79 79 // change class values into class index 80 80 int targetVariableColumn = inputMatrix.GetLength(1) - 1; 81 List<double> classValues = problemData.ClassValues.OrderBy(x =>x).ToList();81 List<double> classValues = problemData.ClassValues.OrderBy(x => x).ToList(); 82 82 for (int row = 0; row < inputMatrix.GetLength(0); row++) { 83 83 inputMatrix[row, targetVariableColumn] = classValues.IndexOf(inputMatrix[row, targetVariableColumn]);
Note: See TracChangeset
for help on using the changeset viewer.