Changeset 9208 for trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Classification/UCI/Wine.cs
- Timestamp:
- 02/06/13 12:30:13 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Classification/UCI/Wine.cs
r8889 r9208 23 23 using System; 24 24 namespace HeuristicLab.Problems.Instances.DataAnalysis { 25 public class Wine : IUCIDataDescriptor {26 public string Name { get { return "Wine"; } }27 public string Description {25 public class Wine : UCIDataDescriptor { 26 public override string Filename { get { return "Wine"; } } 27 public override string Description { 28 28 get { 29 29 return "These data are the results of a chemical analysis of wines grown in the same region " + … … 51 51 } 52 52 } 53 public string Donor { get { return "S. Aeberhard"; } } 54 public int Year { get { return 1991; } } 53 public override string Donor { get { return "S. Aeberhard"; } } 54 public override int Year { get { return 1991; } } 55 56 protected override string TargetVariable { get { return "Class"; } } 57 protected override string[] VariableNames { 58 get { return new string[] { "Alcohol", "Malic acid", "Ash", "Alcalinity of ash", "Magnesium", "Total phenols", "Flavanoids", "Nonflavanoid phenols", "Proanthocyanins", "Color intensity", "Hue", "OD280/OD315 of diluted wines", "Proline", "Class" }; } 59 } 60 protected override string[] AllowedInputVariables { 61 get { return new string[] { "Alcohol", "Malic acid", "Ash", "Alcalinity of ash", "Magnesium", "Total phenols", "Flavanoids", "Nonflavanoid phenols", "Proanthocyanins", "Color intensity", "Hue", "OD280/OD315 of diluted wines", "Proline" }; } 62 } 63 protected override int TrainingPartitionStart { get { return 0; } } 64 protected override int TrainingPartitionEnd { get { return 119; } } 65 protected override int TestPartitionStart { get { return 119; } } 66 protected override int TestPartitionEnd { get { return 178; } } 55 67 } 56 68 }
Note: See TracChangeset
for help on using the changeset viewer.