Changeset 9208 for trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Classification/UCI/Iris.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/Iris.cs
r8889 r9208 23 23 using System; 24 24 namespace HeuristicLab.Problems.Instances.DataAnalysis { 25 public class Iris : IUCIDataDescriptor {26 public string Name { get { return "Iris"; } }27 public string Description {25 public class Iris : UCIDataDescriptor { 26 public override string Filename { get { return "Iris"; } } 27 public override string Description { 28 28 get { 29 29 return "Data Set Information:" + Environment.NewLine … … 35 35 + "other 2; the latter are NOT linearly separable from each other." + Environment.NewLine 36 36 + "Predicted attribute: class of iris plant." + Environment.NewLine 37 + "This is an exceedingly simple domain."; 37 + "This is an exceedingly simple domain." + Environment.NewLine + Environment.NewLine 38 + "The classes have been converted in the following way" + Environment.NewLine 39 + "Iris-setosa = 0" + Environment.NewLine 40 + "Iris-versicolor = 1" + Environment.NewLine 41 + "Iris-virginica = 2"; 38 42 } 39 43 } 40 public string Donor { get { return "M. Marshall"; } } 41 public int Year { get { return 1988; } } 44 public override string Donor { get { return "M. Marshall"; } } 45 public override int Year { get { return 1988; } } 46 47 protected override string TargetVariable { get { return "class"; } } 48 protected override string[] VariableNames { 49 get { return new string[] { "sepal_length", "sepal_width", "petal_length", "petal_width", "class" }; } 50 } 51 protected override string[] AllowedInputVariables { 52 get { return new string[] { "sepal_length", "sepal_width", "petal_length", "petal_width" }; } 53 } 54 protected override int TrainingPartitionStart { get { return 0; } } 55 protected override int TrainingPartitionEnd { get { return 100; } } 56 protected override int TestPartitionStart { get { return 100; } } 57 protected override int TestPartitionEnd { get { return 150; } } 42 58 } 43 59 }
Note: See TracChangeset
for help on using the changeset viewer.