Changeset 8594 for trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification.Views/3.4/InteractiveSymbolicDiscriminantFunctionClassificationSolutionSimplifierView.cs
- Timestamp:
- 09/07/12 11:27:49 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification.Views/3.4/InteractiveSymbolicDiscriminantFunctionClassificationSolutionSimplifierView.cs
r8575 r8594 50 50 51 51 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); 58 54 Content.Model = model; 59 55 }
Note: See TracChangeset
for help on using the changeset viewer.