Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OaaS/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Classification/UCI/Vertebral_3C.cs @ 9844

Last change on this file since 9844 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: 3.0 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
22using System;
23
24namespace HeuristicLab.Problems.Instances.DataAnalysis {
25  public class Vertebral_3C : UCIDataDescriptor {
26    public override string Filename { get { return "Vertebral_3C"; } }
27    public override string Description {
28      get {
29        return "Data Set Information:" + Environment.NewLine
30        + "Biomedical data set built by Dr. Henrique da Mota during a medical residence "
31        + "period in the Group of Applied Research in Orthopaedics (GARO) of the Centre "
32        + "Médico-Chirurgical de Réadaptation des Massues, Lyon, France. The data have been "
33        + "organized in two different but related classification tasks. The first task consists "
34        + "in classifying patients as belonging to one out of three categories: Normal (100 patients), "
35        + "Disk Hernia (60 patients) or Spondylolisthesis (150 patients)." + Environment.NewLine
36        + "Each patient is represented in the data set by six biomechanical attributes derived from "
37        + "the shape and orientation of the pelvis and lumbar spine (in this order): pelvic incidence, "
38        + "pelvic tilt, lumbar lordosis angle, sacral slope, pelvic radius and grade of spondylolisthesis." + Environment.NewLine
39        + "Note: Normal has the value '0', Spondylolisthesis is '1' and Disk Hernia = '2'.";
40      }
41    }
42    public override string Donor { get { return "H. da Mota"; } }
43    public override int Year { get { return 2011; } }
44
45    protected override string TargetVariable { get { return "class"; } }
46    protected override string[] VariableNames {
47      get { return new string[] { "pelvic_incidence", "pelvic_tilt", "lumbar_lordosis_angle", "sacral_slope", "pelvic_radius", "degree_1", "class" }; }
48    }
49    protected override string[] AllowedInputVariables {
50      get { return new string[] { "pelvic_incidence", "pelvic_tilt", "lumbar_lordosis_angle", "sacral_slope", "pelvic_radius", "degree_1" }; }
51    }
52    protected override int TrainingPartitionStart { get { return 0; } }
53    protected override int TrainingPartitionEnd { get { return 207; } }
54    protected override int TestPartitionStart { get { return 207; } }
55    protected override int TestPartitionEnd { get { return 310; } }
56  }
57}
Note: See TracBrowser for help on using the repository browser.