Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OaaS/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Classification/UCI/Parkinson.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.4 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 Parkinson : UCIDataDescriptor {
26    public override string Filename { get { return "Parkinson"; } }
27    public override string Description {
28      get {
29        return "Data Set Information:" + Environment.NewLine
30        + "This dataset is composed of a range of biomedical voice measurements from 31 people, 23 with "
31        + "Parkinson's disease (PD). Each column in the table is a particular voice measure, and each row "
32        + "corresponds one of 195 voice recording from these individuals (\"name\" column). The main aim of "
33        + "the data is to discriminate healthy people from those with PD, according to \"status\" column which "
34        + "is set to 0 for healthy and 1 for PD." + Environment.NewLine
35        + "Further details are contained in the following reference -- if you use this dataset, please cite: " + Environment.NewLine
36        + "Max A. Little, Patrick E. McSharry, Eric J. Hunter, Lorraine O. Ramig (2008), 'Suitability of "
37        + "dysphonia measurements for telemonitoring of Parkinson's disease', IEEE Transactions on Biomedical "
38        + "Engineering (to appear)." + Environment.NewLine
39        + "Note: The column \"name\" has been removed and the column \"status\" has been moved to the end.";
40      }
41    }
42    public override string Donor { get { return "M. Little"; } }
43    public override int Year { get { return 2008; } }
44
45    protected override string TargetVariable { get { return "status"; } }
46    protected override string[] VariableNames {
47      get { return new string[] { "MDVP:Fo(Hz)", "MDVP:Fhi(Hz)", "MDVP:Flo(Hz)", "MDVP:Jitter(%)", "MDVP:Jitter(Abs)", "MDVP:RAP", "MDVP:PPQ", "Jitter:DDP", "MDVP:Shimmer", "MDVP:Shimmer(dB)", "Shimmer:APQ3", "Shimmer:APQ5", "MDVP:APQ", "Shimmer:DDA", "NHR", "HNR", "RPDE", "DFA", "spread1", "spread2", "D2", "PPE", "status" }; }
48    }
49    protected override string[] AllowedInputVariables {
50      get { return new string[] { "MDVP:Fo(Hz)", "MDVP:Fhi(Hz)", "MDVP:Flo(Hz)", "MDVP:Jitter(%)", "MDVP:Jitter(Abs)", "MDVP:RAP", "MDVP:PPQ", "Jitter:DDP", "MDVP:Shimmer", "MDVP:Shimmer(dB)", "Shimmer:APQ3", "Shimmer:APQ5", "MDVP:APQ", "Shimmer:DDA", "NHR", "HNR", "RPDE", "DFA", "spread1", "spread2", "D2", "PPE" }; }
51    }
52    protected override int TrainingPartitionStart { get { return 0; } }
53    protected override int TrainingPartitionEnd { get { return 130; } }
54    protected override int TestPartitionStart { get { return 130; } }
55    protected override int TestPartitionEnd { get { return 195; } }
56  }
57}
Note: See TracBrowser for help on using the repository browser.