Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/25/20 15:33:28 (5 years ago)
Author:
pfleck
Message:

#3040 Added Transformers for Vectors.
Added specialiced Transformers for double Dense/SparseVectorStorage and a generic mapper for the remaining (serializable) types.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3040_VectorBasedGP/HeuristicLab.Problems.DataAnalysis/3.4/Dataset.cs

    r17448 r17449  
    364364
    365365      var doubleVectorValues = values as IList<DoubleVector>;
    366       if (doubleVectorValues != null) return doubleVectorValues.Select(x => DoubleVector.Build.DenseOfVector(x)).ToList();
     366      if (doubleVectorValues != null) return doubleVectorValues.Select(x => x.Clone()).ToList();
    367367
    368368      throw new ArgumentException(string.Format("Unsupported variable type {0}.", GetElementType(values)));
Note: See TracChangeset for help on using the changeset viewer.