Changeset 10569 for branches/ClassificationModelComparison/HeuristicLab.Algorithms.DataAnalysis/3.4/Linear/OneR.cs
- Timestamp:
- 03/11/14 15:16:42 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ClassificationModelComparison/HeuristicLab.Algorithms.DataAnalysis/3.4/Linear/OneR.cs
r9135 r10569 65 65 66 66 protected override void Run() { 67 int blub = MinBucketSizeParameter.Value.Value; 68 Console.WriteLine(blub); 69 IRandom bla = RandomParameter.Value; 70 Console.WriteLine(bla); 67 var startTime = DateTime.Now; 71 68 var solution = CreateOneRSolution(Problem.ProblemData, MinBucketSizeParameter.Value.Value, RandomParameter.Value); 72 69 Results.Add(new Result("OneR solution", "The 1R classifier.", solution)); 70 Results.Add(new Result("OneR Execution Time", "", new TimeSpanValue(DateTime.Now - startTime))); 71 72 startTime = DateTime.Now; 73 var solution3 = OneRTest.CreateOneRSolution(Problem.ProblemData, MinBucketSizeParameter.Value.Value); 74 Results.Add(new Result("OneR Test2 solution", "The 1R classifier.", solution3)); 75 Results.Add(new Result("OneR Test2 Execution", "", new TimeSpanValue(DateTime.Now - startTime))); 73 76 } 74 77
Note: See TracChangeset
for help on using the changeset viewer.