Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/07/12 11:27:49 (12 years ago)
Author:
mkommend
Message:

#1940: Added support in symbolic classification for different methods to create the classification ModelCreator.

  • Added ModelCreators
  • Refactored SymbolicClassificationModel and SymbolicDiscriminantFunctionClassificationModel
  • Added ModelCreatorParameter to Analyzers and Evaluators if needed
  • Corrected wiring in symbolic classification problems (single- and multiobjective
  • Adapted simplifier
File:
1 edited

Legend:

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

    r8575 r8594  
    5050
    5151    protected override void UpdateModel(ISymbolicExpressionTree tree) {
    52       var model = new SymbolicDiscriminantFunctionClassificationModel(tree, Content.Model.Interpreter, Content.Model.LowerEstimationLimit, Content.Model.UpperEstimationLimit);
    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       model.SetAccuracyMaximizingThresholds(Content.ProblemData);
     52      var model = new SymbolicDiscriminantFunctionClassificationModel(tree, Content.Model.Interpreter, Content.Model.ThresholdCalculator, Content.Model.LowerEstimationLimit, Content.Model.UpperEstimationLimit);
     53      model.RecalculateModelParameters(Content.ProblemData, Content.ProblemData.TrainingIndices);
    5854      Content.Model = model;
    5955    }
Note: See TracChangeset for help on using the changeset viewer.