Free cookie consent management tool by TermsFeed Policy Generator

Changeset 6438


Ignore:
Timestamp:
06/17/11 13:30:51 (13 years ago)
Author:
gkronber
Message:

#1506 fixed a bug in the simplifier view for symbolic DF classification solutions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification.Views/3.4/InteractiveSymbolicDiscriminantFunctionClassificationSolutionSimplifierView.cs

    r6411 r6438  
    5151    protected override void UpdateModel(ISymbolicExpressionTree tree) {
    5252      Content.Model = new SymbolicDiscriminantFunctionClassificationModel(tree, Content.Model.Interpreter);
     53      // the default policy for setting thresholds in classification models is the accuarcy maximizing policy
     54      // however for performance reasons we must use estimations of the normal distribution cut points as the thresholds
     55      // here and in CalculateImpactValues as they are a lot faster to calculate
     56      Content.SetClassDistibutionCutPointThresholds();
    5357    }
    5458
     
    7579      double[] classValues;
    7680      double[] thresholds;
     81      // normal distribution cut points are used as thresholds here because they are a lot faster to calculate than the accuracy maximizing thresholds
    7782      NormalDistributionCutPointsThresholdCalculator.CalculateThresholds(Content.ProblemData, originalOutput, targetClassValues, out classValues, out thresholds);
    7883      var classifier = new SymbolicDiscriminantFunctionClassificationModel(tree, interpreter);
Note: See TracChangeset for help on using the changeset viewer.