Free cookie consent management tool by TermsFeed Policy Generator

Changeset 2417


Ignore:
Timestamp:
10/07/09 16:16:45 (15 years ago)
Author:
gkronber
Message:

Fixed problem with inconsistent SVM predictor output (node indexes in support vectors and problems have to be in ascending order). #744

Location:
trunk/sources
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.SupportVectorMachines/3.2/SVMHelper.cs

    r2412 r2417  
    5252        }
    5353        if (!double.IsNaN(dataset.GetValue(start + row, targetVariable))) {
    54           nodes[addedRows] = tempRow.ToArray();
     54          nodes[addedRows] = tempRow.OrderBy(x => x.Index).ToArray();
    5555          addedRows++;
    5656        }
  • trunk/sources/HeuristicLab.sln

    r2404 r2417  
    31473147    {A16F23B5-FB62-499E-A831-26953AA56FE2}.Modeling Debug|x64.ActiveCfg = Debug|x64
    31483148    {A16F23B5-FB62-499E-A831-26953AA56FE2}.Modeling Debug|x86.ActiveCfg = Debug|x86
     3149    {A16F23B5-FB62-499E-A831-26953AA56FE2}.Modeling Debug|x86.Build.0 = Debug|x86
    31493150    {A16F23B5-FB62-499E-A831-26953AA56FE2}.Release|Any CPU.ActiveCfg = Release|Any CPU
    31503151    {A16F23B5-FB62-499E-A831-26953AA56FE2}.Release|Any CPU.Build.0 = Release|Any CPU
     
    39513952    {1263BB36-1F20-4960-A5CB-530746DBAD77}.Modeling Debug|Any CPU.Build.0 = Debug|Any CPU
    39523953    {1263BB36-1F20-4960-A5CB-530746DBAD77}.Modeling Debug|x64.ActiveCfg = Debug|Any CPU
    3953     {1263BB36-1F20-4960-A5CB-530746DBAD77}.Modeling Debug|x86.ActiveCfg = Debug|Any CPU
     3954    {1263BB36-1F20-4960-A5CB-530746DBAD77}.Modeling Debug|x86.ActiveCfg = Debug|x86
    39543955    {1263BB36-1F20-4960-A5CB-530746DBAD77}.Release|Any CPU.ActiveCfg = Release|Any CPU
    39553956    {1263BB36-1F20-4960-A5CB-530746DBAD77}.Release|Any CPU.Build.0 = Release|Any CPU
Note: See TracChangeset for help on using the changeset viewer.