- Timestamp:
- 09/20/18 15:56:23 (6 years ago)
- Location:
- stable
- Files:
-
- 20 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk merged: 15853,15855,16169
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.Instances.DataAnalysis
- Property svn:mergeinfo changed
/trunk/HeuristicLab.Problems.Instances.DataAnalysis merged: 15853,15855,16169
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/MibaFriction/CF1.cs
r15584 r16170 22 22 namespace HeuristicLab.Problems.Instances.DataAnalysis { 23 23 public class CF1 : ResourceRegressionDataDescriptor { 24 public override string Name { get { return "CF1"; } } 24 public CF1() : base("CF1.csv") { } 25 public override string Name { get { return "CF1"; } } 25 26 public override string Description { 26 27 get { … … 33 34 protected override string TargetVariable { get { return "Cf1"; } } 34 35 protected override string[] VariableNames { 35 get { return new string[] { "Partition", "Source1", "Source2", "x1", "Material_Cat", "x2", "x3", "x4", "x5", "x6", "x7", "x8", "x9", "x10", "x11", "x12", "x13", "x14", "x15", "x16", "Material", "Grooving", "Oil", "x17", "x18", "x19", "x20", "x21", "x22", "Cf1" 36 }; } 36 get { 37 return new string[] { "Partition", "Source1", "Source2", "x1", "Material_Cat", "x2", "x3", "x4", "x5", "x6", "x7", "x8", "x9", "x10", "x11", "x12", "x13", "x14", "x15", "x16", "Material", "Grooving", "Oil", "x17", "x18", "x19", "x20", "x21", "x22", "Cf1" 38 }; 39 } 37 40 } 38 41 39 42 protected override string[] AllowedInputVariables { 40 get { return new string[] { "Material_Cat", 43 get { 44 return new string[] { "Material_Cat", 41 45 "x2", "x3", "x4", "x5", "x6", "x7", "x8", "x9", "x10", "x11", "x12", "x13", "x14", "x15", "x16", 42 46 "Material", "Grooving", "Oil", 43 "x17", "x20", "x22" }; } 47 "x17", "x20", "x22" }; 48 } 44 49 } 45 50 protected override int TrainingPartitionStart { get { return 0; } } -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/MibaFriction/CF2.cs
r15584 r16170 22 22 namespace HeuristicLab.Problems.Instances.DataAnalysis { 23 23 public class CF2 : ResourceRegressionDataDescriptor { 24 public CF2() : base("CF2.csv") { } 24 25 public override string Name { get { return "CF2"; } } 25 26 public override string Description { -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/MibaFriction/CF3.cs
r15584 r16170 22 22 namespace HeuristicLab.Problems.Instances.DataAnalysis { 23 23 public class CF3 : ResourceRegressionDataDescriptor { 24 public CF3() : base("CF3.csv") { } 24 25 public override string Name { get { return "CF3"; } } 25 26 public override string Description { -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/MibaFriction/CF4.cs
r15584 r16170 22 22 namespace HeuristicLab.Problems.Instances.DataAnalysis { 23 23 public class CF4 : ResourceRegressionDataDescriptor { 24 public CF4() : base("CF4.csv") { } 24 25 public override string Name { get { return "CF4"; } } 25 26 public override string Description { -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/MibaFriction/MibaFrictionRegressionInstanceProvider.cs
r15584 r16170 47 47 public override IEnumerable<IDataDescriptor> GetDataDescriptors() { 48 48 List<ResourceRegressionDataDescriptor> descriptorList = new List<ResourceRegressionDataDescriptor>(); 49 descriptorList.Add(new CF1() { ResourceName = "CF1.csv" });50 descriptorList.Add(new CF2() { ResourceName = "CF2.csv" });51 descriptorList.Add(new CF3() { ResourceName = "CF3.csv" });52 descriptorList.Add(new CF4() { ResourceName = "CF4.csv" });53 descriptorList.Add(new NvhRating() { ResourceName = "NvhRating.csv" });54 descriptorList.Add(new Temp1() { ResourceName = "Temp1.csv" });55 descriptorList.Add(new Temp2() { ResourceName = "Temp2.csv" });56 descriptorList.Add(new Wear1() { ResourceName = "Wear1.csv" });57 descriptorList.Add(new Wear2() { ResourceName = "Wear2.csv" });49 descriptorList.Add(new CF1()); 50 descriptorList.Add(new CF2()); 51 descriptorList.Add(new CF3()); 52 descriptorList.Add(new CF4()); 53 descriptorList.Add(new NvhRating()); 54 descriptorList.Add(new Temp1()); 55 descriptorList.Add(new Temp2()); 56 descriptorList.Add(new Wear1()); 57 descriptorList.Add(new Wear2()); 58 58 59 59 return descriptorList; -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/MibaFriction/NvhRating.cs
r15584 r16170 22 22 namespace HeuristicLab.Problems.Instances.DataAnalysis { 23 23 public class NvhRating : ResourceRegressionDataDescriptor { 24 public NvhRating() : base("NvhRating.csv") { } 24 25 public override string Name { get { return "NvhRating"; } } 25 26 public override string Description { -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/MibaFriction/Temp1.cs
r15584 r16170 22 22 namespace HeuristicLab.Problems.Instances.DataAnalysis { 23 23 public class Temp1 : ResourceRegressionDataDescriptor { 24 public Temp1() : base("Temp1.csv") { } 24 25 public override string Name { get { return "Temp1"; } } 25 26 public override string Description { -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/MibaFriction/Temp2.cs
r15584 r16170 22 22 namespace HeuristicLab.Problems.Instances.DataAnalysis { 23 23 public class Temp2 : ResourceRegressionDataDescriptor { 24 public Temp2() : base("Temp2.csv") { } 24 25 public override string Name { get { return "Temp2"; } } 25 26 public override string Description { -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/MibaFriction/Wear1.cs
r15584 r16170 22 22 namespace HeuristicLab.Problems.Instances.DataAnalysis { 23 23 public class Wear1 : ResourceRegressionDataDescriptor { 24 public Wear1() : base("Wear1.csv") { } 24 25 public override string Name { get { return "Wear1"; } } 25 26 public override string Description { … … 32 33 } 33 34 protected override string TargetVariable { get { return "Wear1"; } } 35 34 36 protected override string[] VariableNames { 35 37 get { return new string[] { "Partition", "Source1", "Source2", "x1", "Material_Cat", "x2", "x3", "x4", "x5", "x6", "x7", "x8", "x9", "x10", "x11", "x12", "x13", "x14", "x15", "x16", "Material", "Grooving", "Oil", "x17", "x18", "x19", "x20", "x21", "x22", "Wear1" -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/MibaFriction/Wear2.cs
r15584 r16170 22 22 namespace HeuristicLab.Problems.Instances.DataAnalysis { 23 23 public class Wear2 : ResourceRegressionDataDescriptor { 24 public Wear2() : base("Wear2.csv") { } 24 25 public override string Name { get { return "Wear2"; } } 25 26 public override string Description { -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/RealWorld/ChemicalOne.cs
r15584 r16170 22 22 namespace HeuristicLab.Problems.Instances.DataAnalysis { 23 23 public class ChemicalOne : ResourceRegressionDataDescriptor { 24 public ChemicalOne() : base("Chemical-I.csv") { } 24 25 public override string Name { get { return "Chemical-I"; } } 25 26 public override string Description { get { return ""; } } -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/RealWorld/Housing.cs
r15584 r16170 22 22 namespace HeuristicLab.Problems.Instances.DataAnalysis { 23 23 public class Housing : ResourceRegressionDataDescriptor { 24 public Housing() : base("Housing.csv") { } 24 25 public override string Name { get { return "Housing"; } } 25 26 public override string Description { get { return ""; } } -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/RealWorld/Powermeter.cs
r15584 r16170 24 24 namespace HeuristicLab.Problems.Instances.DataAnalysis { 25 25 public class Powermeter : ResourceRegressionDataDescriptor { 26 public Powermeter() : base("Powermeter.txt") { } 26 27 public override string Name { get { return "Powermeter"; } } 27 28 public override string Description { -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/RealWorld/RealWorldRegressionInstanceProvider.cs
r15584 r16170 47 47 public override IEnumerable<IDataDescriptor> GetDataDescriptors() { 48 48 List<ResourceRegressionDataDescriptor> descriptorList = new List<ResourceRegressionDataDescriptor>(); 49 descriptorList.Add(new ChemicalOne() { ResourceName = "Chemical-I.csv" });50 descriptorList.Add(new Housing() { ResourceName = "Housing.csv" });51 descriptorList.Add(new Tower() { ResourceName = "Tower.txt" });52 descriptorList.Add(new Powermeter() { ResourceName = "Powermeter.txt" });53 descriptorList.Add(new SARCOS() { ResourceName = "SARCOS - Inverse Dynamics.txt" });49 descriptorList.Add(new ChemicalOne()); 50 descriptorList.Add(new Housing()); 51 descriptorList.Add(new Tower()); 52 descriptorList.Add(new Powermeter()); 53 descriptorList.Add(new SARCOS()); 54 54 return descriptorList; 55 55 } -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/RealWorld/SARCOS.cs
r15584 r16170 24 24 namespace HeuristicLab.Problems.Instances.DataAnalysis { 25 25 public class SARCOS : ResourceRegressionDataDescriptor { 26 public SARCOS() : base("SARCOS - Inverse Dynamics.txt") { } 26 27 public override string Name { get { return "SARCOS - Inverse Dynamics"; } } 27 28 public override string Description { -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/RealWorld/Tower.cs
r15584 r16170 24 24 namespace HeuristicLab.Problems.Instances.DataAnalysis { 25 25 public class Tower : ResourceRegressionDataDescriptor { 26 public Tower() : base("Tower.txt") { } 26 27 public override string Name { get { return "Tower"; } } 27 28 public override string Description { -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/ResourceRegressionDataDescriptor.cs
r15584 r16170 25 25 namespace HeuristicLab.Problems.Instances.DataAnalysis { 26 26 public abstract class ResourceRegressionDataDescriptor : RegressionDataDescriptor { 27 internal string ResourceName { get; set; } 27 public ResourceRegressionDataDescriptor(string resourceName) { 28 ResourceName = resourceName; 29 } 30 31 public string ResourceName { get; private set; } 28 32 29 33 public bool CheckVariableNames(IEnumerable<string> VariableNames) { -
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/ResourceRegressionInstanceProvider.cs
r15584 r16170 62 62 63 63 protected virtual string GetResourceName(string fileName) { 64 return Assembly.GetExecutingAssembly().GetManifestResourceNames()64 return GetType().Assembly.GetManifestResourceNames() 65 65 .Where(x => Regex.Match(x, @".*\.Data\." + fileName).Success).SingleOrDefault(); 66 66 }
Note: See TracChangeset
for help on using the changeset viewer.