Changeset 14400 for trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/Nca/Initialization/LdaInitializer.cs
- Timestamp:
- 11/17/16 15:41:33 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/Nca/Initialization/LdaInitializer.cs
r14393 r14400 44 44 var attributes = data.AllowedInputVariables.Count(); 45 45 46 var ldaDs = data.Dataset.ToArray(47 data.AllowedInputVariables.Concat(data.TargetVariable.ToEnumerable()),48 data.TrainingIndices);46 var ldaDs = AlglibUtil.PrepareInputMatrix(data.Dataset, 47 data.AllowedInputVariables.Concat(data.TargetVariable.ToEnumerable()), 48 data.TrainingIndices); 49 49 50 50 // map class values to sequential natural numbers (required by alglib)
Note: See TracChangeset
for help on using the changeset viewer.