Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OaaS/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Classification/UCI/Thyroid.cs @ 10189

Last change on this file since 10189 was 9208, checked in by sforsten, 12 years ago

#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 size: 2.7 KB
Line 
1#region License Information
2/* HeuristicLab
3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
4 *
5 * This file is part of HeuristicLab.
6 *
7 * HeuristicLab is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * HeuristicLab is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
19 */
20#endregion
21
22
23using System;
24namespace HeuristicLab.Problems.Instances.DataAnalysis {
25  public class Thyroid : UCIDataDescriptor {
26    public override string Filename { get { return "Thyroid"; } }
27    public override string Description {
28      get {
29        return "Thyroid gland data. ('normal', hypo and hyper functioning)" + Environment.NewLine + Environment.NewLine +
30        "Attr. no :" + Environment.NewLine +
31        "1: Class attribute (1 = normal, 2 = hyper, 3 = hypo)" + Environment.NewLine +
32        "2: T3-resin uptake test. (A percentage)" + Environment.NewLine +
33        "3: Total Serum thyroxin as measured by the isotopic displacement method." + Environment.NewLine +
34        "4: Total serum triiodothyronine as measured by radioimmuno assay." + Environment.NewLine +
35        "5: basal thyroid-stimulating hormone (TSH) as measured by radioimmuno assay." + Environment.NewLine +
36        "6: Maximal absolute difference of TSH value after injection of 200 micro grams of " +
37        "thyrotropin-releasing hormone as compared to the basal value." + Environment.NewLine +
38        "All attributes are continuous.";
39      }
40    }
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; } }
55  }
56}
Note: See TracBrowser for help on using the repository browser.