Changeset 8585 for branches/HeuristicLab.Mono/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification.Views/3.4/InteractiveSymbolicDiscriminantFunctionClassificationSolutionSimplifierView.cs
- Timestamp:
- 09/06/12 09:52:52 (12 years ago)
- Location:
- branches/HeuristicLab.Mono
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Mono
-
branches/HeuristicLab.Mono/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification.Views/3.4/InteractiveSymbolicDiscriminantFunctionClassificationSolutionSimplifierView.cs
r8139 r8585 50 50 51 51 protected override void UpdateModel(ISymbolicExpressionTree tree) { 52 Content.Model = new SymbolicDiscriminantFunctionClassificationModel(tree, Content.Model.Interpreter);52 var model = new SymbolicDiscriminantFunctionClassificationModel(tree, Content.Model.Interpreter, Content.Model.LowerEstimationLimit, Content.Model.UpperEstimationLimit); 53 53 // the default policy for setting thresholds in classification models is the accuarcy maximizing policy. 54 54 // This is rather slow to calculate and can lead to a very laggy UI in the interactive solution simplifier. 55 55 // However, since we automatically prune sub-trees based on the threshold reaching the maximum accuracy we must 56 56 // also use maximum accuracy threshold calculation here in order to prevent incoherent behavior of the simplifier. 57 Content.SetAccuracyMaximizingThresholds(); 57 model.SetAccuracyMaximizingThresholds(Content.ProblemData); 58 Content.Model = model; 58 59 } 59 60
Note: See TracChangeset
for help on using the changeset viewer.