Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/20/18 15:52:16 (5 years ago)
Author:
gkronber
Message:

#2908 changed handling of resource names (moved into data descriptors)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/MibaFriction/CF1.cs

    r15855 r16169  
    2222namespace HeuristicLab.Problems.Instances.DataAnalysis {
    2323  public class CF1 : ResourceRegressionDataDescriptor {
    24     public CF1(string resourceName) : base(resourceName) { }
    25     public override string Name { get { return "CF1"; } }
     24    public CF1() : base("CF1.csv") { }
     25    public override string Name { get { return "CF1"; } }   
    2626    public override string Description {
    2727      get {
     
    3434    protected override string TargetVariable { get { return "Cf1"; } }
    3535    protected override string[] VariableNames {
    36       get { return new string[] { "Partition", "Source1", "Source2", "x1", "Material_Cat", "x2", "x3", "x4", "x5", "x6", "x7", "x8", "x9", "x10", "x11", "x12", "x13", "x14", "x15", "x16", "Material", "Grooving", "Oil", "x17", "x18", "x19", "x20", "x21", "x22", "Cf1"
    37  }; }
     36      get {
     37        return new string[] { "Partition", "Source1", "Source2", "x1", "Material_Cat", "x2", "x3", "x4", "x5", "x6", "x7", "x8", "x9", "x10", "x11", "x12", "x13", "x14", "x15", "x16", "Material", "Grooving", "Oil", "x17", "x18", "x19", "x20", "x21", "x22", "Cf1"
     38 };
     39      }
    3840    }
    3941
    4042    protected override string[] AllowedInputVariables {
    41       get { return new string[] { "Material_Cat",
     43      get {
     44        return new string[] { "Material_Cat",
    4245        "x2", "x3", "x4", "x5", "x6", "x7", "x8", "x9", "x10", "x11", "x12", "x13", "x14", "x15", "x16",
    4346        "Material", "Grooving", "Oil",
    44         "x17", "x20", "x22" }; }
     47        "x17", "x20", "x22" };
     48      }
    4549    }
    4650    protected override int TrainingPartitionStart { get { return 0; } }
Note: See TracChangeset for help on using the changeset viewer.