Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/15/09 17:33:39 (15 years ago)
Author:
gkronber
Message:

Implemented #707: ProblemInjector creates a new dataset that contains only the target variable and all allowed input variables.

File:
1 edited

Legend:

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

    r2144 r2162  
    6969    public double[] ScalingFactor {
    7070      get { return scalingFactor; }
     71      set {
     72        if (value.Length != scalingFactor.Length)
     73          throw new ArgumentException("Length of scaling factor array doesn't match number of variables");
     74        scalingFactor = value;
     75      }
    7176    }
    7277    public double[] ScalingOffset {
    7378      get { return scalingOffset; }
     79      set {
     80        if (value.Length != scalingOffset.Length)
     81          throw new ArgumentException("Length of scaling offset array doesn't match number of variables");
     82        scalingOffset = value; }
    7483    }
    7584
Note: See TracChangeset for help on using the changeset viewer.