Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/06/13 12:30:13 (12 years ago)
Author:
sforsten
Message:

#1941:

  • added wisconsin breast cancer problem instance
  • corrected iris dataset
  • changed classification data descriptors to be able to set training and test partition as well as input and target variables (in the same way as it is done in regression)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Classification/UCI/Thyroid.cs

    r8889 r9208  
    2323using System;
    2424namespace HeuristicLab.Problems.Instances.DataAnalysis {
    25   public class Thyroid : IUCIDataDescriptor {
    26     public string Name { get { return "Thyroid"; } }
    27     public string Description {
     25  public class Thyroid : UCIDataDescriptor {
     26    public override string Filename { get { return "Thyroid"; } }
     27    public override string Description {
    2828      get {
    2929        return "Thyroid gland data. ('normal', hypo and hyper functioning)" + Environment.NewLine + Environment.NewLine +
     
    3939      }
    4040    }
    41     public string Donor { get { return "S. Aeberhard"; } }
    42     public int Year { get { return 1992; } }
     41    public override string Donor { get { return "S. Aeberhard"; } }
     42    public override int Year { get { return 1992; } }
     43
     44    protected override string TargetVariable { get { return "X000"; } }
     45    protected override string[] VariableNames {
     46      get { return new string[] { "X001", "X002", "X003", "X004", "X005", "X000" }; }
     47    }
     48    protected override string[] AllowedInputVariables {
     49      get { return new string[] { "X001", "X002", "X003", "X004", "X005" }; }
     50    }
     51    protected override int TrainingPartitionStart { get { return 0; } }
     52    protected override int TrainingPartitionEnd { get { return 143; } }
     53    protected override int TestPartitionStart { get { return 143; } }
     54    protected override int TestPartitionEnd { get { return 215; } }
    4355  }
    4456}
Note: See TracChangeset for help on using the changeset viewer.