Free cookie consent management tool by TermsFeed Policy Generator

Changeset 7027


Ignore:
Timestamp:
11/21/11 16:31:44 (12 years ago)
Author:
gkronber
Message:

#1685: fixed a bug in the InteractiveSymbolicDiscriminantFunctionClassificationSolutionSimplifierView. The drawback is that the threshold calculation is much more complex now and can lead to an unresponsive UI as we do not calculate impacts in the background.

File:
1 edited

Legend:

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

    r6803 r7027  
    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();
     53      // the default policy for setting thresholds in classification models is the accuarcy maximizing policy.
     54      // This is rather slow to calculate and can lead to a very laggy UI in the interactive solution simplifier.
     55      // However, since we automatically prune sub-trees based on the threshold reaching the maximum accuracy we must
     56      // also use maximum accuracy threshold calculation here in order to prevent incoherent behavior of the simplifier.
     57      Content.SetAccuracyMaximizingThresholds();
    5758    }
    5859
Note: See TracChangeset for help on using the changeset viewer.