Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/10/11 16:27:48 (14 years ago)
Author:
gkronber
Message:

#1418 ported ROC, confusion matrix and discriminant function classification views and fixed bug in threshold calculation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataAnalysis Refactoring/HeuristicLab.Algorithms.DataAnalysis/3.4/Linear/LinearDiscriminantAnalysis.cs

    r5658 r5664  
    7979      // change class values into class index
    8080      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();
    8282      for (int row = 0; row < inputMatrix.GetLength(0); row++) {
    8383        inputMatrix[row, targetVariableColumn] = classValues.IndexOf(inputMatrix[row, targetVariableColumn]);
Note: See TracChangeset for help on using the changeset viewer.