Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/29/15 19:48:17 (9 years ago)
Author:
gkronber
Message:

#1998

  • deleted obsolete version of OneR algorithm (also does perform worse than mkommend's implementation in my tests)
  • reused the ConstantRegressionModel as ConstantClassificationModel (OK?)
  • fixed a few strings here and there
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ClassificationModelComparison/HeuristicLab.Problems.DataAnalysis.Views/3.4/Classification/ClassificationSolutionComparisonView.cs

    r13086 r13089  
    8787          dataGridView.ColumnCount = 4;
    8888          dataGridView.RowCount = solutions.Count();
    89           dataGridView.Columns[0].HeaderText = "Training Accuracy";
    90           dataGridView.Columns[1].HeaderText = "Test Accuracy";
    91           dataGridView.Columns[2].HeaderText = "Matthews Correlation Coefficient Training";
    92           dataGridView.Columns[3].HeaderText = "Matthews Correlation Coefficient Test";
     89          dataGridView.Columns[0].HeaderText = "Accuracy (training)";
     90          dataGridView.Columns[1].HeaderText = "Accuracy (test)";
     91          dataGridView.Columns[2].HeaderText = "Matthews Correlation Coefficient (training)";
     92          dataGridView.Columns[3].HeaderText = "Matthews Correlation Coefficient (test)";
    9393          if (problemData.Classes == 2) {
    9494            dataGridView.ColumnCount = 6;
    95             dataGridView.Columns[4].HeaderText = "F1 Score Training";
    96             dataGridView.Columns[5].HeaderText = "F1 Score Test";
     95            dataGridView.Columns[4].HeaderText = "F1 Score (training)";
     96            dataGridView.Columns[5].HeaderText = "F1 Score (test)";
    9797          }
    9898
     
    130130      var newSolutions = new List<IClassificationSolution>();
    131131      var zeroR = ZeroR.CreateZeroRSolution(problemData);
    132       zeroR.Name = "0R Classification Solution";
     132      zeroR.Name = "ZeroR Classification Solution";
    133133      newSolutions.Add(zeroR);
    134       var oneR = OneR.CreateOneRSolution(problemData, 6, new FastRandom());
    135       oneR.Name = "1R Classification Solution";
     134      var oneR = OneRTest.CreateOneRSolution(problemData);
     135      oneR.Name = "OneR Classification Solution";
    136136      newSolutions.Add(oneR);
    137137      try {
Note: See TracChangeset for help on using the changeset viewer.