Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/06/13 12:30:13 (11 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/Mammography.cs

    r8889 r9208  
    2323using System;
    2424namespace HeuristicLab.Problems.Instances.DataAnalysis {
    25   public class Mammography : IUCIDataDescriptor {
    26     public string Name { get { return "Mammography"; } }
    27     public string Description {
     25  public class Mammography : UCIDataDescriptor {
     26    public override string Filename { get { return "Mammography"; } }
     27    public override string Description {
    2828      get {
    2929        return "Data Set Information: Features are computed from a digitized image of a fine needle aspirate (FNA) of a breast mass."
     
    4646      }
    4747    }
    48     public string Donor { get { return "M. Elter"; } }
    49     public int Year { get { return 2007; } }
     48    public override string Donor { get { return "M. Elter"; } }
     49    public override int Year { get { return 2007; } }
     50
     51    protected override string TargetVariable { get { return "Severity"; } }
     52    protected override string[] VariableNames {
     53      get { return new string[] { "BI-RADS", "Age", "Shape", "Margin", "Density", "Severity" }; }
     54    }
     55    protected override string[] AllowedInputVariables {
     56      get { return new string[] { "BI-RADS", "Age", "Shape", "Margin", "Density" }; }
     57    }
     58    protected override int TrainingPartitionStart { get { return 0; } }
     59    protected override int TrainingPartitionEnd { get { return 641; } }
     60    protected override int TestPartitionStart { get { return 641; } }
     61    protected override int TestPartitionEnd { get { return 961; } }
    5062  }
    5163}
Note: See TracChangeset for help on using the changeset viewer.