- Timestamp:
- 11/17/16 15:41:33 (8 years ago)
- Location:
- trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/Nca/Initialization
- Files:
-
- 2 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) -
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/Nca/Initialization/PcaInitializer.cs
r14393 r14400 44 44 var attributes = data.AllowedInputVariables.Count(); 45 45 46 var pcaDs = data.Dataset.ToArray(data.AllowedInputVariables, data.TrainingIndices);46 var pcaDs = AlglibUtil.PrepareInputMatrix(data.Dataset, data.AllowedInputVariables, data.TrainingIndices); 47 47 48 48 int info;
Note: See TracChangeset
for help on using the changeset viewer.