Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/14/08 23:34:38 (16 years ago)
Author:
gkronber
Message:

renamed ClassificationMatrixEvaluator to ConfusionMatrixEvaluator (#177)

Location:
trunk/sources/HeuristicLab.GP.StructureIdentification.Classification
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.GP.StructureIdentification.Classification/ConfusionMatrixEvaluator.cs

    r656 r658  
    2929
    3030namespace HeuristicLab.GP.Classification {
    31   public class ClassificationMatrixEvaluator : GPEvaluatorBase {
     31  public class ConfusionMatrixEvaluator : GPEvaluatorBase {
    3232    private const double EPSILON = 1.0E-6;
    3333    private double[] classesArr;
     
    4040    }
    4141
    42     public ClassificationMatrixEvaluator()
     42    public ConfusionMatrixEvaluator()
    4343      : base() {
    44       AddVariableInfo(new VariableInfo("ClassificationMatrix", "The resulting classification matrix of the model", typeof(IntMatrixData), VariableKind.New));
     44      AddVariableInfo(new VariableInfo("ConfusionMatrix", "The confusion matrix of the model", typeof(IntMatrixData), VariableKind.New));
    4545      AddVariableInfo(new VariableInfo("TargetClassValues", "The original class values of target variable (for instance negative=0 and positive=1).", typeof(ItemList<DoubleData>), VariableKind.In));
    4646    }
     
    5656      }
    5757
    58       matrix = GetVariableValue<IntMatrixData>("ClassificationMatrix", scope, false, false);
     58      matrix = GetVariableValue<IntMatrixData>("ConfusionMatrix", scope, false, false);
    5959      if(matrix == null) {
    6060        matrix = new IntMatrixData(new int[classesArr.Length, classesArr.Length]);
    61         scope.AddVariable(new HeuristicLab.Core.Variable(scope.TranslateName("ClassificationMatrix"), matrix));
     61        scope.AddVariable(new HeuristicLab.Core.Variable(scope.TranslateName("ConfusionMatrix"), matrix));
    6262      }
    6363      return base.Apply(scope);
  • trunk/sources/HeuristicLab.GP.StructureIdentification.Classification/HeuristicLab.GP.StructureIdentification.Classification.csproj

    r656 r658  
    6565  <ItemGroup>
    6666    <Compile Include="AccuracyEvaluator.cs" />
    67     <Compile Include="ClassificationMatrixEvaluator.cs" />
    6867    <Compile Include="ClassificationMeanSquaredErrorEvaluator.cs" />
     68    <Compile Include="ConfusionMatrixEvaluator.cs" />
    6969    <Compile Include="CrossValidation.cs" />
    7070    <Compile Include="FunctionLibraryInjector.cs">
Note: See TracChangeset for help on using the changeset viewer.