Changeset 6438
- Timestamp:
- 06/17/11 13:30:51 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification.Views/3.4/InteractiveSymbolicDiscriminantFunctionClassificationSolutionSimplifierView.cs
r6411 r6438 51 51 protected override void UpdateModel(ISymbolicExpressionTree tree) { 52 52 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 57 } 54 58 … … 75 79 double[] classValues; 76 80 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 77 82 NormalDistributionCutPointsThresholdCalculator.CalculateThresholds(Content.ProblemData, originalOutput, targetClassValues, out classValues, out thresholds); 78 83 var classifier = new SymbolicDiscriminantFunctionClassificationModel(tree, interpreter);
Note: See TracChangeset
for help on using the changeset viewer.