Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/20/10 15:49:22 (14 years ago)
Author:
gkronber
Message:

Implemented views for DataAnalysisProblems and DataAnalysisSolutions. #938 (Data types and operators for regression problems)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Dataset.cs

    r3431 r3442  
    3636  public sealed class Dataset : NamedItem, IStringConvertibleMatrix {
    3737    public Dataset()
    38       : this(new string[0], new double[,] { { } }) {
     38      : this(new string[1] { "y" }, new double[,] { { 0.0 } }) {
    3939    }
    4040
     
    4545        throw new ArgumentException("Number of variable names doesn't match the number of columns of data");
    4646      }
    47       Data = data;
    48       this.VariableNames = variableNames;
     47      this.data = data;
     48      this.variableNames = variableNames.ToArray();
    4949      this.SortableView = false;
    5050    }
Note: See TracChangeset for help on using the changeset viewer.