Free cookie consent management tool by TermsFeed Policy Generator

Changeset 453 for trunk/sources


Ignore:
Timestamp:
08/05/08 22:22:25 (16 years ago)
Author:
gkronber
Message:

fixed a small problem in classification evaluators (#225)

Location:
trunk/sources/HeuristicLab.StructureIdentification/Evaluation
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.StructureIdentification/Evaluation/AccuracyEvaluator.cs

    r422 r453  
    4949      int trainingEnd = GetVariableValue<IntData>("TrainingSamplesEnd", scope, true).Data;
    5050      int nSamples = trainingEnd-trainingStart;
    51       double limit = GetVariableValue<DoubleData>("ClassSeparation", scope, false).Data;
     51      double limit = GetVariableValue<DoubleData>("ClassSeparation", scope, true).Data;
    5252      double TP = 0;
    5353      double TN = 0;
  • trunk/sources/HeuristicLab.StructureIdentification/Evaluation/MCCEvaluator.cs

    r400 r453  
    4949      int trainingEnd = GetVariableValue<IntData>("TrainingSamplesEnd", scope, true).Data;
    5050      int nSamples = trainingEnd-trainingStart;
    51       double limit = GetVariableValue<DoubleData>("ClassSeparation", scope, false).Data;
     51      double limit = GetVariableValue<DoubleData>("ClassSeparation", scope, true).Data;
    5252      if(estimated.Length != nSamples) {
    5353        estimated = new double[nSamples];
Note: See TracChangeset for help on using the changeset viewer.