Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/28/18 15:05:44 (6 years ago)
Author:
abeham
Message:

#2909: Updated NCA model to account for change in parameter ordering, added unit test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/HeuristicLab.Algorithms.DataAnalysis/3.4/Nca/NcaModel.cs

    r15583 r15869  
    6565
    6666      var ds = ReduceDataset(dataset, rows);
    67       nnModel = new NearestNeighbourModel(ds, Enumerable.Range(0, ds.Rows), k, ds.VariableNames.Last(), ds.VariableNames.Take(transformationMatrix.GetLength(1)), classValues);
     67      nnModel = new NearestNeighbourModel(ds, Enumerable.Range(0, ds.Rows), k, ds.VariableNames.Last(), ds.VariableNames.Take(transformationMatrix.GetLength(1)), classValues: classValues);
    6868    }
    6969
Note: See TracChangeset for help on using the changeset viewer.