Changeset 17931 for trunk/HeuristicLab.Algorithms.DataAnalysis/3.4/Nca
- Timestamp:
- 04/09/21 19:41:33 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Algorithms.DataAnalysis/3.4/Nca/NcaModel.cs
r17180 r17931 65 65 66 66 var ds = ReduceDataset(dataset, rows); 67 nnModel = new NearestNeighbourModel(ds, Enumerable.Range(0, ds.Rows), k, false, ds.VariableNames.Last(), ds.VariableNames.Take(transformationMatrix.GetLength(1)), classValues: classValues); 67 // the new implementation of kNN uses selfmatch=true by default 68 nnModel = new NearestNeighbourModelAlglib_3_7(ds, Enumerable.Range(0, ds.Rows), k, selfMatch: false, ds.VariableNames.Last(), ds.VariableNames.Take(transformationMatrix.GetLength(1)), classValues: classValues); 68 69 } 69 70
Note: See TracChangeset
for help on using the changeset viewer.