Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/20/10 14:57:11 (14 years ago)
Author:
mkommend
Message:

corrected SVMs in HL3.3 (ticket #1009)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/SupportVectorMachine/SupportVectorMachineUtil.cs

    r3842 r3855  
    4646      for (int row = 0; row < rowCount; row++) {
    4747        tempRow = new List<SVM.Node>();
    48         foreach (var inputVariable in problemData.InputVariables) {
    49           int col = problemData.Dataset.GetVariableIndex(inputVariable.Value);
     48        foreach (var inputVariable in problemData.InputVariables.CheckedItems) {
     49          int col = problemData.Dataset.GetVariableIndex(inputVariable.Value.Value);
    5050          double value = problemData.Dataset[start + row, col];
    5151          if (!double.IsNaN(value)) {
Note: See TracChangeset for help on using the changeset viewer.