Changeset 17448 for branches/3040_VectorBasedGP/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Classification
- Timestamp:
- 02/25/20 07:41:01 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3040_VectorBasedGP/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Classification/TimeSeries/TimeSeriesInstanceProvider.cs
r17418 r17448 30 30 using System.Linq; 31 31 using HeuristicLab.Problems.DataAnalysis; 32 33 using DoubleVector = MathNet.Numerics.LinearAlgebra.Vector<double>; 32 34 33 35 namespace HeuristicLab.Problems.Instances.DataAnalysis { … … 160 162 var numbers = variable 161 163 .Split(',') 162 .Select(ParseNumber) 163 .ToList(); 164 inputsData[i].Add(new DoubleVector(numbers)); 164 .Select(ParseNumber); 165 inputsData[i].Add(DoubleVector.Build.DenseOfEnumerable(numbers)); 165 166 } 166 167
Note: See TracChangeset
for help on using the changeset viewer.